We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3290675 commit 7b4cc0aCopy full SHA for 7b4cc0a
.goreleaser.yaml
@@ -41,7 +41,7 @@ builds:
41
flags:
42
- -trimpath
43
ldflags:
44
- - -s -w -X {{ .ModulePath }}.version={{ .Version }} -X {{ .ModulePath }}.commit={{ .Commit }} -X {{ .ModulePath }}.date={{ .CommitDate }}
+ - -s -w -X {{ .ModulePath }}/main.version={{ .Version }} -X {{ .ModulePath }}/main.commit={{ .Commit }} -X {{ .ModulePath }}/main.date={{ .CommitDate }}
45
46
universal_binaries:
47
- replace: false
0 commit comments