# [Configuration | Release-plz](https://release-plz.ieni.dev/docs/config) [workspace] git_tag_name = "{{version}}" git_release_name = "{{version}}" [changelog] sort_commits = "newest" commit_preprocessors = [ # { pattern = '\((\w+\s)?#([0-9]+)\)', replace = "" }, # remove issue numbers from commits # { pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](/issues/${2}))"}, # replace issue numbers ] # regex for parsing and grouping commits # try to follow [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) commit_parsers = [ { message = "^(🔒️|🔐)", group = "Security" }, { body = ".*security", group = "Security" }, { message = "^(fix|🐛|🚑️|👽️)", group = "Fixed" }, { message = "^(test|✅)", group = "Fixed", skip = true }, { message = "^.*: add", group = "Added" }, { message = "^.*: support", group = "Added" }, { message = "^(feat|✨|💥)", group = "Added" }, { message = "^.*: remove", group = "Removed" }, { message = "^.*: delete", group = "Removed" }, { message = "^(style|💄)", group = "Changed" }, { message = "^(doc|✏️|📝)", group = "Changed" }, { message = "^(perf|⚡️)", group = "Changed" }, { message = "^(chore|ci|💚|👷|🚧)", group = "Changed", skip = true }, { message = "^revert", group = "Changed" }, { message = "^(chore\\(deps\\)|⬇️|⬆️|➕|➖)", group = "Changed" }, { message = "^(refactor|🎨|🔥|♻️)", group = "Refactor", skip = true }, { message = "^(chore\\(release\\): prepare for|🔖|🚀)", skip = true }, { message = "^chore\\(pr\\)", skip = true }, { message = "^chore\\(pull\\)", skip = true }, ]