mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-24 04:16:27 +02:00
docs: improved docs
This commit is contained in:
parent
5a0b6c4608
commit
481bbad43a
@ -38,8 +38,9 @@ builds:
|
||||
# - Commit
|
||||
# - Tag
|
||||
# - Version (Git tag without `v` prefix)
|
||||
# Date format is `2006-01-02_15:04:05`. You can use `time "2006-01-02"` to
|
||||
# if you need custom formats.
|
||||
# Date format is `2006-01-02_15:04:05`.
|
||||
# You can use the `time` function instead of `Date`, for example:
|
||||
# `time "2006-01-02"` too if you need custom formats
|
||||
#
|
||||
# Default is `-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}`.
|
||||
ldflags: -s -w -X main.build={{.Version}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user