We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2432ca commit 2aca5b7Copy full SHA for 2aca5b7
.goreleaser.yaml
@@ -22,8 +22,9 @@ builds:
22
- linux
23
- windows
24
- darwin
25
+ # Note the need for prefixing a leading v
26
ldflags:
- - "-s -w -X 'github.com/zph/polylint/cmd.version={{.Version}}' -X 'github.com/zph/polylint/cmd.commit={{.Commit}}' -X 'github.com/zph/polylint/cmd.date={{.Date}}' -X 'github.com/zph/polylint/cmd.builtBy=goreleaser'"
27
+ - "-s -w -X 'github.com/zph/polylint/cmd.version=v{{.Version}}' -X 'github.com/zph/polylint/cmd.commit={{.Commit}}' -X 'github.com/zph/polylint/cmd.date={{.Date}}' -X 'github.com/zph/polylint/cmd.builtBy=goreleaser'"
28
29
archives:
30
- format: tar.gz
0 commit comments