Skip to content

Commit

Permalink
#42 - fixed goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
g4s8 committed Feb 7, 2020
1 parent 4afd231 commit 52f8daa
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ before:
builds:
-
main: ./cmd/gitstrap/main.go
ldflags:
- -s -w
-X "main.buildDate={{.Date}}"
-X "main.buildVersion={{.Env.TRAVIS_TAG}}{{.Env.TRAVIS_BUILD_NUMBER}}"
-X "main.buildCommit={{.Env.TRAVIS_COMMIT}}"
# ldflags:
# - -s -w
# -X "main.buildDate={{.Date}}"
# -X "main.buildVersion={{.Env.TRAVIS_TAG}}{{.Env.TRAVIS_BUILD_NUMBER}}"
# -X "main.buildCommit={{.Env.TRAVIS_COMMIT}}"
archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}'
replacements:
Expand Down

0 comments on commit 52f8daa

Please sign in to comment.