Skip to content

Commit

Permalink
build: fix version injection
Browse files Browse the repository at this point in the history
  • Loading branch information
jippi committed May 11, 2024
1 parent 180c0ce commit 040e53a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ builds:
flags:
- -trimpath
ldflags:
- -s -w -X {{ .ModulePath }}/main.version={{ .Version }} -X {{ .ModulePath }}/main.commit={{ .Commit }} -X {{ .ModulePath }}/main.date={{ .CommitDate }}
- -s -w -X main.version={{ .Version }} -X main.commit={{ .Commit }} -X main.date={{ .CommitDate }}

universal_binaries:
- replace: false
Expand Down

0 comments on commit 040e53a

Please sign in to comment.