Skip to content

Commit

Permalink
release: Specify LDFLAGS as string
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinGimbel committed Nov 10, 2017
1 parent 7dac978 commit b813a21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
builds:
- main: main.go
binary: license
ldflags: -X github.com/kevingimbel/license/lib.build={{.Version}} -X github.com/kevingimbel/license/lib.buildDate={{.Date}} -X github.com/kevingimbel/license/lib.commit={{.Commit}}
ldflags: "-X github.com/kevingimbel/license/lib.version={{.Version}} -X github.com/kevingimbel/license/lib.buildDate={{.Date}} -X github.com/kevingimbel/license/lib.commit={{.Commit}}"
env:
- CGO_ENABLED=0
goos:
Expand Down

0 comments on commit b813a21

Please sign in to comment.