Skip to content

Commit

Permalink
feat: setup ldflag to cmd instead of main package (#71)
Browse files Browse the repository at this point in the history
Co-authored-by: bw-bmbarga <[email protected]>
  • Loading branch information
elhmn and bw-bmbarga authored Aug 31, 2021
1 parent dedd592 commit f2471c0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
builds:
-
ldflags:
- -s -w -X cmd.version={{.Version}} -X cmd.commit={{.Commit}} -X cmd.date={{.Date}} -X cmd.builtBy=elhmn

brews:
- tap:
owner: elhmn
Expand Down

0 comments on commit f2471c0

Please sign in to comment.