Skip to content

Commit 53a3cc9

Browse files
committed
build: fix linker flag
1 parent 2091f73 commit 53a3cc9

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}/main.version={{.Version}} -X {{.ModulePath}}/main.commit={{.Commit}} -X {{.ModulePath}}/main.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)