Skip to content

Commit 947ef6a

Browse files
committed
fix goreleaser config
1 parent a0ede79 commit 947ef6a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.goreleaser.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ builds:
1313
- linux
1414
goarch:
1515
- amd64
16+
ldflags:
17+
- -s -w -X main.Version={{.Version}}
1618

1719
nfpms:
1820
- file_name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Arch }}'

0 commit comments

Comments
 (0)