Skip to content

Commit

Permalink
goreleaser: Add -X to ldflags
Browse files Browse the repository at this point in the history
Closes #502.
  • Loading branch information
fpuc committed Dec 21, 2021
1 parent 6dae1ef commit f8a536f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ builds:
- -trimpath
- -v
ldflags:
- main.version={{.Version}} -X main.commit={{.Commit}}`
- -X main.version={{.Version}} -X main.commit={{.Commit}}
archives:
- replacements:
darwin: Darwin
Expand Down

0 comments on commit f8a536f

Please sign in to comment.