mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-04 03:11:55 +02:00
docs: add missing dash in ldflags default (#4070)
This commit is contained in:
parent
ef690d07ef
commit
bf350e049a
@ -52,7 +52,7 @@ builds:
|
||||
|
||||
# Custom ldflags.
|
||||
#
|
||||
# Default: 's -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser'
|
||||
# Default: '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser'
|
||||
# Templates: allowed
|
||||
ldflags:
|
||||
- -s -w -X main.build={{.Version}}
|
||||
|
Loading…
Reference in New Issue
Block a user