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:
parent
d6c91eb100
commit
df04b2eb94
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user