ci: move features higher in changelogs

This commit is contained in:
Tomáš Mládek 2024-06-14 20:58:42 +02:00
parent 60cbf0a64a
commit 5e82ce2416

View file

@ -20,7 +20,7 @@ body = """
## [unreleased]
{% endif %}\
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | upper_first }}
### {{ group | upper_first | trim_start_matches(pat="!") }}
{% for commit in commits %}
- {% if commit.breaking %}[**breaking**] {% endif %}{% if commit.scope %}[{{ commit.scope | upper }}]: {% endif %}{{ commit.message | upper_first }}\
{% endfor %}
@ -43,7 +43,7 @@ split_commits = false
# regex for preprocessing the commit messages
commit_parsers = [
{ message = "[\\.]{3}", group = "Ignore", skip = true },
{message = "^feat", group = "Features"},
{ message = "^feat", group = "!Features" },
{ message = "^fix", group = "Bug Fixes" },
{ message = "^doc", group = "Documentation" },
{ message = "^perf", group = "Performance" },