From df04b2eb9448fbb6349909401e2d938299a0735b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Tue, 25 Apr 2017 14:03:42 +0200 Subject: [PATCH] Fix ldflags key name in README Which can lead to some hard-to-debug issues ... See https://github.com/spf13/hugo/issues/3382 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c9e850442..290763bbb 100644 --- a/README.md +++ b/README.md @@ -210,7 +210,7 @@ build: # - Commit # The default is `-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}` # Date format is `2006-01-02_15:04:05` - ldflags_template: -s -w -X main.build={{.Version}} + ldflags: -s -w -X main.build={{.Version}} # GOOS list to build in. # For more info refer to https://golang.org/doc/install/source#environment