1
0
Fork 0
mirror of https://github.com/Luzifer/git-changerelease.git synced 2024-11-14 02:02:44 +00:00
git-changerelease/assets/git_changerelease.yaml
Knut Ahlers 1996e4589f
Add support for pre-commit-commands
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-11-12 13:12:04 +01:00

38 lines
1.5 KiB
YAML

---
# Disable GPG signing for tags in case you do not want to have signed
# tags or do not have set up GPG signing for git.
disable_signed_tags: false
# Filter out commits using a regular expression match on the commit
# message. By default below is a matcher for PR merges on Github.
ignore_messages:
- "^Merge pull request"
# Every commit message matching one of the regular expressions defined
# in here will cause a patch-version increase (1.0.0 -> 1.0.1).
match_patch:
- "^[fF]ix"
# Every commit message matching one of the regular expressions defined
# in here will cause a major-version increase (1.0.0 -> 2.0.0).
match_major:
- "^[Bb]reaking"
# Template to format the commit message containing the changelog change
# which will be used to add the tag to.
release_commit_message: "prepare release {{.Version}}"
# Commands to run before committing the changelog and adding the tag.
# Therefore these can add content to be included into the release-
# commit. These commands have access to the `TAG_VERSION` variable
# which contains the tag to be applied after the commit. If the
# command specified here is prefixed with a `-` sign, the exit status
# will not fail the release process. If it is not prefixed with a `-`
# a non-zero exit status will terminate the release process. The
# commands will be run from the repostory root, so sub-dirs MUST be
# specified. All commands are run as `bash -ec "..."` so you can use
# bash inside the commands.
pre_commit_commands: []
...