Skip to content

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