mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2026-04-29 15:04:03 +08:00
38 lines
1.2 KiB
TOML
38 lines
1.2 KiB
TOML
[changelog]
|
|
header = """
|
|
# Changelog\n
|
|
"""
|
|
body = """
|
|
{% if version %}\
|
|
## [{{ version | trim_start_matches(pat="v") }}](https://github.com/WeBankFinTech/fes.js/compare/{{ previous.version }}...{{ version }}) ({{ timestamp | date(format="%Y-%m-%d") }})
|
|
{% else %}\
|
|
## [Unreleased]
|
|
{% endif %}\
|
|
{% for group, commits in commits | group_by(attribute="group") %}
|
|
### {{ group | upper_first }}
|
|
{% for commit in commits %}
|
|
* {{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}](https://github.com/WeBankFinTech/fes.js/commit/{{ commit.id }}))
|
|
{% endfor %}
|
|
{% endfor %}\n
|
|
"""
|
|
trim = true
|
|
|
|
[git]
|
|
conventional_commits = true
|
|
filter_unconventional = true
|
|
split_commits = false
|
|
commit_parsers = [
|
|
{ message = "^feat", group = "Features" },
|
|
{ message = "^fix", group = "Bug Fixes" },
|
|
{ message = "^perf", group = "Performance Improvements" },
|
|
{ message = "^doc", group = "Documentation" },
|
|
{ message = "^style", group = "Styles" },
|
|
{ message = "^refactor", group = "Code Refactoring" },
|
|
{ message = "^test", group = "Tests" },
|
|
{ message = "^chore", group = "Chores" },
|
|
{ message = "^revert", group = "Reverts" },
|
|
]
|
|
filter_commits = false
|
|
tag_pattern = "v[0-9].*"
|
|
sort_tags = "newest"
|