diff --git a/cliff.toml b/cliff.toml index 4075160..0d6a60c 100644 --- a/cliff.toml +++ b/cliff.toml @@ -70,7 +70,7 @@ footer = """ """ # postprocessors postprocessors = [ - { pattern = '', replace = "https://github.com/welpo/tabi" }, # replace repository URL + { pattern = '', replace = "https://github.com/welpo/tabi" }, # replace repository URL ] [git] @@ -82,26 +82,27 @@ filter_unconventional = true split_commits = false # regex for preprocessing the commit messages commit_preprocessors = [ - # Replace the issue number with the link. - { pattern = "\\(#([0-9]+)\\)", replace = "([#${1}](https://github.com/welpo/tabi/issues/${1}))" }, - # Remove trailing whitespace. - { pattern = ' +$', replace = "" }, - # Replace multiple spaces with a single space. - { pattern = ' +', replace = " " }, - # Remove gitmoji, both actual UTF emoji and :emoji: - { pattern = ' *(:\w+:|[\p{Emoji_Presentation}\p{Extended_Pictographic}\u{200D}]) *', replace = "" }, + # Replace the issue number with the link. + { pattern = "\\(#([0-9]+)\\)", replace = "([#${1}](https://github.com/welpo/tabi/issues/${1}))" }, + # Remove trailing whitespace. + { pattern = ' +$', replace = "" }, + # Replace multiple spaces with a single space. + { pattern = ' +', replace = " " }, + # Remove gitmoji, both actual UTF emoji and :emoji: + { pattern = ' *(:\w+:|[\p{Emoji_Presentation}\p{Extended_Pictographic}\u{200D}]) *', replace = "" }, ] # regex for parsing and grouping commits commit_parsers = [ - { message = "^feat", group = "✨ Features" }, - { message = "^fix", group = "🐛 Bug Fixes" }, - { message = "^style", group = "💄 Styling" }, - { message = "^perf", group = "⚡️ Performance" }, - { message = "^doc", group = "📝 Documentation" }, - { message = "^refactor", group = "♻️ Refactor" }, - { message = "^revert", group = "⏪️ Revert" }, - { message = "^test", group = "✅ Testing" }, - { message = "^chore", skip = true }, + { message = "^feat", group = "✨ Features" }, + { message = "^fix", group = "🐛 Bug Fixes" }, + { message = "^style", group = "💄 Styling" }, + { message = "^perf", group = "⚡️ Performance" }, + { message = "^doc", group = "📝 Documentation" }, + { message = "^refactor", group = "♻️ Refactor" }, + { message = "^revert", group = "⏪️ Revert" }, + { message = "^deprecate", group = "🗑️ Deprecations" }, + { message = "^test", group = "✅ Testing" }, + { message = "^chore", skip = true }, ] # protect breaking changes from being skipped due to matching a skipping commit_parser protect_breaking_commits = true