Skip to content

Commit

Permalink
chore: embed version information to binary on build
Browse files Browse the repository at this point in the history
  • Loading branch information
suin committed Oct 26, 2018
1 parent f7fd8e4 commit b9fea0e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ before:
builds:
- env:
- CGO_ENABLED=0
- ldflags:
- -X "github.com/suin/git-remind/app/cli.Name=git-remind"
-X "github.com/suin/git-remind/app/cli.Description=Never forget to git commit and push"
-X "github.com/suin/git-remind/app/cli.Version={{.Version}}"
archive:
replacements:
darwin: Darwin
Expand Down

0 comments on commit b9fea0e

Please sign in to comment.