Skip to content

Commit

Permalink
Improve release process
Browse files Browse the repository at this point in the history
  • Loading branch information
samcoe committed Aug 24, 2021
1 parent 738c867 commit a2a5016
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
GIT_AUTHOR_EMAIL:
run: |
git add dist
git restore --staged dist/config.yaml
git restore --staged dist/config.yaml dist/\*.zip dist/\*.tar.gz dist/\*.txt dist/\*.txt.sig
git commit -m "Add artifacts for ${GITHUB_REF#refs/tags/}"
if [[ $GITHUB_REF != *-* ]]; then
git push origin HEAD:trunk
Expand Down
2 changes: 2 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ before:
builds:
- env:
- CGO_ENABLED=0
ldflags:
- -s -w
goos:
- darwin
- linux
Expand Down

0 comments on commit a2a5016

Please sign in to comment.