dev: reverse order of commits in CHANGELOG, ignore lints & refactors

This commit is contained in:
Tomáš Mládek 2024-06-30 19:05:50 +02:00
parent 01ee578f4b
commit 66b67c7201
2 changed files with 581 additions and 660 deletions

File diff suppressed because it is too large Load diff

View file

@ -21,7 +21,7 @@ body = """
{% endif %}\
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | upper_first | trim_start_matches(pat="!") }}
{% for commit in commits %}
{% for commit in commits | reverse %}
- {% if commit.breaking %}[**breaking**] {% endif %}{% if commit.scope %}[{{ commit.scope | upper }}]: {% endif %}{{ commit.message | upper_first }}\
{% endfor %}
{% endfor %}\n
@ -47,7 +47,8 @@ commit_parsers = [
{ message = "^fix", group = "Bug Fixes" },
{ message = "^doc", group = "Documentation" },
{ message = "^perf", group = "Performance" },
{ message = "^refactor", group = "Refactor" },
{ message = "^refactor", group = "Refactor", skip = true },
{ message = "^lint", group = "Linting", skip = true },
{ message = "^style", group = "Styling" },
{ message = "^test", group = "Testing" },
{ message = "^media", group = "Media" },