Skip to content

Commit

Permalink
try to fix the goreleaser main.version ldflag
Browse files Browse the repository at this point in the history
  • Loading branch information
syntaqx committed Jan 15, 2019
1 parent d875cf2 commit 37dd315
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ builds:
- goos: darwin
goarch: 386
env:
- CGO_ENABLED=0
- CGO_ENABLED=0
ldflags:
- -s -w -X main.version={{.Version}}
archive:
format: tar.gz
format_overrides:
Expand Down

0 comments on commit 37dd315

Please sign in to comment.