1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

Fix ldflags key name in README

Which can lead to some hard-to-debug issues ...

See https://github.com/spf13/hugo/issues/3382
This commit is contained in:
Bjørn Erik Pedersen 2017-04-25 14:03:42 +02:00
parent d6c91eb100
commit df04b2eb94

View File

@ -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