mirror of
https://github.com/steel-dev/cli.git
synced 2026-09-14 20:47:34 +08:00
47 lines
1.4 KiB
TOML
47 lines
1.4 KiB
TOML
[changelog]
|
|
header = """
|
|
# Changelog\n
|
|
All notable changes to this project will be documented in this file.\n
|
|
"""
|
|
body = """
|
|
{% if version %}\
|
|
## [{{ version }}]
|
|
{% else %}\
|
|
## [unreleased]
|
|
{% endif %}\
|
|
{% for group, commits in commits | group_by(attribute="group") %}
|
|
### {{ group | upper_first }}
|
|
{% for commit in commits %}
|
|
- {% if commit.scope %}*({{ commit.scope }})* {% endif %}{{ commit.message | upper_first }}\
|
|
{% if commit.breaking %}
|
|
{% raw %} {% endraw %}- **BREAKING**: {{ commit.breaking_description }}\
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endfor %}\n
|
|
"""
|
|
trim = true
|
|
footer = ""
|
|
|
|
[git]
|
|
conventional_commits = true
|
|
filter_unconventional = true
|
|
split_commits = false
|
|
commit_preprocessors = [
|
|
{ pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](https://github.com/steel-dev/cli/issues/${2}))" },
|
|
]
|
|
commit_parsers = [
|
|
{ message = "^feat", group = "Features" },
|
|
{ message = "^fix", group = "Bug Fixes" },
|
|
{ message = "^doc", group = "Documentation" },
|
|
{ message = "^perf", group = "Performance" },
|
|
{ message = "^refactor", group = "Refactor" },
|
|
{ message = "^test", group = "Testing" },
|
|
{ message = "^chore\\(release\\)", skip = true },
|
|
{ message = "^chore\\(deps\\)", skip = true },
|
|
{ message = "^chore|ci", group = "Miscellaneous" },
|
|
]
|
|
protect_breaking_commits = true
|
|
filter_commits = false
|
|
tag_pattern = "v[0-9].*"
|
|
sort_commits = "oldest"
|