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 857eb0c commit d776d2dCopy full SHA for d776d2d
.goreleaser.yml
@@ -25,7 +25,7 @@ builds:
25
flags:
26
- -trimpath #removes all file system paths from the compiled executable
27
ldflags:
28
- - '-s -w -X main.Version={{.Version}} -X main.VersionPrerelease= '
+ - '-s -w -X {{ .ModulePath }}/version.Version={{.Version}} -X {{ .ModulePath }}/version.VersionPrerelease= '
29
goos:
30
- linux
31
goarch:
@@ -36,7 +36,7 @@ builds:
36
37
38
39
- - '-s -w -X main.version={{.Version}} -X main.VersionPrerelease= '
40
41
- freebsd
42
- windows
0 commit comments