[changelog]
body = """
{% if version %}\
## {{ version }} - {{ timestamp | date(format="%Y-%m-%d") }}
{% else %}\
## [unreleased]
{% endif %}\
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | striptags | trim | upper_first }}
{% for commit in commits %}
- {% if commit.scope %}*({{ commit.scope }})* {% endif %}\
{% if commit.breaking %}[**breaking**] {% endif %}\
{{ commit.message | upper_first }}\
{% if commit.remote.username and commit.remote.pr_number %} (@{{ commit.remote.username }} in #{{ commit.remote.pr_number }})\
{% elif commit.remote.username %} (@{{ commit.remote.username }})\
{% elif commit.remote.pr_number %} (in #{{ commit.remote.pr_number }}{%- endif %}\
{% endfor %}
{% endfor %}\n
"""
postprocessors = [
{ pattern = " \\(#(\\d+)\\)", replace = "" }
]
[bump]
features_always_bump_minor = false
[git]
filter_unconventional = false
require_conventional = true
commit_parsers = [
{ message = "^feat", group = "<!-- 0 -->๐ Features" },
{ message = "^fix", group = "<!-- 1 -->๐ Bug Fixes" },
{ message = "^doc", group = "<!-- 3 -->๐ Documentation" },
{ message = "^perf", group = "<!-- 4 -->โก Performance" },
{ message = "^refactor", group = "<!-- 2 -->๐ Refactor" },
{ message = "^style", group = "<!-- 5 -->๐จ Styling" },
{ message = "^test", group = "<!-- 6 -->๐งช Testing" },
{ message = "^build", group = "<!-- 7 -->๐จ Build" },
{ body = ".*security", group = "<!-- 8 -->๐ก๏ธ Security" },
{ message = "^revert", group = "<!-- 9 -->โ๏ธ Revert" },
{ message = "^chore|^ci", skip = true },
{ message = ".*", group = "<!-- 10 -->๐ผ Other" },
]
[remote.gitea]
owner = "serebit"
repo = "libcpuname"