Skip to content

Commit

Permalink
add ldflags to .goreleaser.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
redradrat committed Sep 28, 2020
1 parent 6a35b23 commit 89262a0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/.goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ builds:
- linux
- windows
- darwin
ldflags:
- -X github.com/redradrat/kable/pkg/cmd.cliVersion={{.Version}}
- -X github.com/redradrat/kable/pkg/cmd.cliDate={{.Date}}
archives:
- replacements:
darwin: Darwin
Expand Down

0 comments on commit 89262a0

Please sign in to comment.