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

Loading…
Cancel
Save