mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-02-03 13:11:48 +02:00
6e4c0e6abe
refs #3841 Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
617 B
617 B
Git
Since v1.14.0.
This allows you to change the behavior of some Git commands.
# .goreleaser.yaml
git:
# What should be used to sort tags when gathering the current and previous
# tags if there are more than one tag in the same commit.
#
# Default: `-version:refname`
tag_sort: -version:creatordate
# What should be used to specify prerelease suffix while sorting tags when gathering
# the current and previous tags if there are more than one tag in the same commit.
#
# Since: v1.17.0.
# Default: empty, uses what's defined in the git configuration.
prerelease_suffix: "-"