From 5e45827322095bab02738ad8d2da3f046c127736 Mon Sep 17 00:00:00 2001 From: welpo Date: Mon, 15 Jan 2024 18:55:23 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20chore(release):=20add=20deprecat?= =?UTF-8?q?ions=20section=20to=20changelog?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cliff.toml | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) 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