releaser: Fix ldflags setting

Closes #3382
This commit is contained in:
Bjørn Erik Pedersen 2017-04-25 14:30:48 +02:00 committed by GitHub
parent 88d8111093
commit fd5109b6d8

View file

@ -1,7 +1,7 @@
build:
main: main.go
binary: hugo
ldflags_template: -s -w -X hugolib.BuildDate={{.Date}} -linkmode external -extldflags "-static"
ldflags: -s -w -X hugolib.BuildDate={{.Date}} -linkmode external -extldflags "-static"
goos:
- darwin
- linux