releaser: Fix ldflags setting
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 25 Apr 2017 12:30:48 +0000 (14:30 +0200)
committerGitHub <noreply@github.com>
Tue, 25 Apr 2017 12:30:48 +0000 (14:30 +0200)
Closes #3382

goreleaser.yml

index 582ad7d135cafdc5b3552fc0b561b41c41ee3529..dbf4b3299a3c9a87b5a9a33fa5074d9e96fef322 100644 (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