Skip to content

Commit 7b4cc0a

Browse files
committed
ci: fix linker for version?
1 parent 3290675 commit 7b4cc0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.goreleaser.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ builds:
4141
flags:
4242
- -trimpath
4343
ldflags:
44-
- -s -w -X {{ .ModulePath }}.version={{ .Version }} -X {{ .ModulePath }}.commit={{ .Commit }} -X {{ .ModulePath }}.date={{ .CommitDate }}
44+
- -s -w -X {{ .ModulePath }}/main.version={{ .Version }} -X {{ .ModulePath }}/main.commit={{ .Commit }} -X {{ .ModulePath }}/main.date={{ .CommitDate }}
4545

4646
universal_binaries:
4747
- replace: false

0 commit comments

Comments
 (0)