Skip to content

Commit

Permalink
Goreleaser automatically sets main.version
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Suderman committed Apr 26, 2019
1 parent f6ac4b8 commit 1e6008e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ builds:
env:
- CGO_ENABLED=0
- GO111MODULE=on
- CIRCLECI_TAG=$CIRCLECI_TAG
ldflags:
- "-X main.VERSION={{.Env.CIRCLECI_TAG}} -s -w"
- "-s -w"
goarch:
- amd64
- arm
Expand Down

0 comments on commit 1e6008e

Please sign in to comment.