Skip to main content

Git

This allows you to change the behavior of some Git commands.

.kmdopkg.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.
#
# See: https://git-scm.com/docs/git-tag#Documentation/git-tag.txt---sortltkeygt
#
# 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.
prerelease_suffix: "-"

# Tags to be ignored by Kmdo.
# This means that Kmdo will not pick up tags that match any of the
# provided values as either previous or current tags.
#
# Templates: allowed.
ignore_tags:
- nightly
- "{{.Env.IGNORE_TAG}}"