-
Notifications
You must be signed in to change notification settings - Fork 68
/
cliff.toml
33 lines (31 loc) · 1.08 KB
/
cliff.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[changelog]
header = """"""
body = """
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | upper_first }}
{% for commit in commits %}
* {{ commit.message | upper_first }}\
{% if commit.breaking %} (**breaking**){% endif %}\
{%- if commit.links %} ({% for link in commit.links %}{{link.text}}{% endfor -%}){% endif %}\
{%- if commit.body %}\n → {{ commit.body }}{%- endif %}\
{% endfor %}
{% endfor %}\n
"""
footer = """
### Acknowledgements
Again there has been several contributions from the community, and as before I would like to give a special thanks to everyone who contributes with PRs: .
"""
trim = false
[git]
conventional_commits = true
filter_unconventional = true
commit_parsers = [
{ message = "^feat", group = "Features"},
{ message = "^fix", group = "Bug Fixes"},
{ message = "^merge", group = "Merges"},
{ message = "^doc", group = "Documentation"},
{ message = "^perf", group = "Performance"},
{ message = "^test", skip = true},
{ message = "^chore", skip = true},
]
link_parsers = [ { pattern = "#(\\d+)", href = "$1"} ]