👷 chore(release): add deprecations section to changelog

main
welpo 1 year ago
parent 9f39b7fe47
commit 5e45827322
No known key found for this signature in database
GPG Key ID: A2F978CF4EC1F5A6

@ -70,7 +70,7 @@ footer = """
"""
# postprocessors
postprocessors = [
{ pattern = '<REPO>', replace = "https://github.com/welpo/tabi" }, # replace repository URL
{ pattern = '<REPO>', 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 = "<!-- 0 -->✨ Features" },
{ message = "^fix", group = "<!-- 1 -->🐛 Bug Fixes" },
{ message = "^style", group = "<!-- 2 -->💄 Styling" },
{ message = "^perf", group = "<!-- 3 -->⚡️ Performance" },
{ message = "^doc", group = "<!-- 4 -->📝 Documentation" },
{ message = "^refactor", group = "<!-- 5 -->♻️ Refactor" },
{ message = "^revert", group = "<!-- 6 -->⏪️ Revert" },
{ message = "^test", group = "✅ Testing" },
{ message = "^chore", skip = true },
{ message = "^feat", group = "<!-- 0 -->✨ Features" },
{ message = "^fix", group = "<!-- 1 -->🐛 Bug Fixes" },
{ message = "^style", group = "<!-- 2 -->💄 Styling" },
{ message = "^perf", group = "<!-- 3 -->⚡️ Performance" },
{ message = "^doc", group = "<!-- 4 -->📝 Documentation" },
{ message = "^refactor", group = "<!-- 5 -->♻️ Refactor" },
{ message = "^revert", group = "<!-- 6 -->⏪️ Revert" },
{ message = "^deprecate", group = "<!-- 7 -->🗑️ 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

Loading…
Cancel
Save