Files
MercuryToolbox/cliff.toml
T

45 lines
1.2 KiB
TOML

[changelog]
header = """
# Changelog
All notable changes to this project are documented in this file.
"""
body = """
{% if version %}
## [{{ version }}] - {{ timestamp | date(format="%Y-%m-%d") }}
{% else %}
## [Unreleased]
{% endif %}
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group }}
{% for commit in commits %}
- {% if commit.scope %}**{{ commit.scope }}:** {% endif %}{{ commit.message | upper_first }}
{% endfor %}
{% endfor %}
"""
trim = true
footer = """
## [v0.1.0] - 2026-06-04
- First hosted release.
"""
[git]
conventional_commits = true
filter_unconventional = true
tag_pattern = "v[0-9]*"
skip_tags = "v0\\.1\\.0"
sort_commits = "oldest"
commit_parsers = [
{ message = "^chore\\(release\\)", skip = true },
{ message = "^feat", group = "Features" },
{ message = "^fix", group = "Fixes" },
{ message = "^perf", group = "Performance" },
{ message = "^refactor", group = "Refactoring" },
{ message = "^docs", group = "Documentation" },
{ message = "^test", group = "Tests" },
{ message = "^build", group = "Build" },
{ message = "^ci", group = "Continuous Integration" },
{ message = "^chore", group = "Maintenance" }
]