Skip to content

Commit a2a5016

Browse files
committed
Improve release process
1 parent 738c867 commit a2a5016

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
GIT_AUTHOR_EMAIL:
4949
run: |
5050
git add dist
51-
git restore --staged dist/config.yaml
51+
git restore --staged dist/config.yaml dist/\*.zip dist/\*.tar.gz dist/\*.txt dist/\*.txt.sig
5252
git commit -m "Add artifacts for ${GITHUB_REF#refs/tags/}"
5353
if [[ $GITHUB_REF != *-* ]]; then
5454
git push origin HEAD:trunk

.goreleaser.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ before:
55
builds:
66
- env:
77
- CGO_ENABLED=0
8+
ldflags:
9+
- -s -w
810
goos:
911
- darwin
1012
- linux

0 commit comments

Comments
 (0)