1
0
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:
Carlos Alexandro Becker 2018-04-12 15:21:17 -03:00 committed by Carlos Alexandro Becker
parent 5a0b6c4608
commit 481bbad43a

View File

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