Skip to content

Commit 7c71a2e

Browse files
committed
goreleaser config
1 parent cb38b6a commit 7c71a2e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,3 @@ jobs:
2828
args: release --clean
2929
env:
3030
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31-
GOFLAGS: -installsuffix=static

.goreleaser.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
builds:
2+
env:
3+
- CGO_ENABLED=0
4+
install_suffix: static
5+
ldflags:
6+
- -s -w

0 commit comments

Comments
 (0)