summaryrefslogtreecommitdiffhomepage
path: root/goreleaser.yml
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2017-04-25 14:30:48 +0200
committerGitHub <[email protected]>2017-04-25 14:30:48 +0200
commitfd5109b6d8c8b927198d948795dbd0be3f72571e (patch)
tree07c6011b0ff4fd7db9cd3e856fc6900a8d2a16b2 /goreleaser.yml
parent88d8111093e9024c75df5edb0467dec45548011f (diff)
downloadhugo-fd5109b6d8c8b927198d948795dbd0be3f72571e.tar.gz
hugo-fd5109b6d8c8b927198d948795dbd0be3f72571e.zip
releaser: Fix ldflags setting
Closes #3382
Diffstat (limited to 'goreleaser.yml')
-rw-r--r--goreleaser.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/goreleaser.yml b/goreleaser.yml
index 582ad7d13..dbf4b3299 100644
--- a/goreleaser.yml
+++ b/goreleaser.yml
@@ -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