Skip to content

Commit

Permalink
added go-releaser
Browse files Browse the repository at this point in the history
  • Loading branch information
lmittmann committed Sep 3, 2023
1 parent 5673a0d commit 113c707
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/.goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
release:
github:
owner: lmittmann
name: go-solc
draft: true
footer: |
**Full Changelog**: [`{{ .PreviousTag }}…{{ .Tag }}`](https://github.com/{{ .Env.GITHUB_REPOSITORY }}/compare/{{ .PreviousTag }}...{{ .Tag }})
changelog:
sort: asc
groups:
- title: Bug Fixes
regexp: fix
order: 1
- title: ''
regexp: .*
order: 0

builds:
- skip: true
23 changes: 23 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Release

on:
push:
tags:
- v*

permissions:
contents: write

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: goreleaser/goreleaser-action@v4
with:
version: latest
args: release --clean --config .github/.goreleaser.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 113c707

Please sign in to comment.