-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcliff.toml
More file actions
49 lines (46 loc) · 1.67 KB
/
Copy pathcliff.toml
File metadata and controls
49 lines (46 loc) · 1.67 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[changelog]
header = ""
body = """
{% if version %}\
# acro {{ version | trim_start_matches(pat="V") }} ({{ timestamp | date(format="%b %d, %Y") }})
{% 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 | trim }}
{% endfor %}
{%- endfor %}
"""
trim = false
footer = ""
[git]
conventional_commits = true
filter_unconventional = false
# Only matches uppercase V tags (V0.1.7+); older lowercase tags
# (v0.1.1–v0.1.6) are excluded — their NEWS.md entries were hand-written.
tag_pattern = "V[0-9]+\\.[0-9]+\\.[0-9]+"
commit_preprocessors = [
{ pattern = ' \(#(\d+)\)', replace = ' ([#$1](https://github.com/AI-SDC/ACRO-R/pull/$1))' },
{ pattern = 'Signed-off-by:.*', replace = '' },
{ pattern = '\n[\s\S]*', replace = '' },
]
commit_parsers = [
{ message = "^\\[pre-commit", skip = true },
{ message = "^docs: update changelog", skip = true },
{ message = "^docs: update citation", skip = true },
{ message = "^chore: prepare", skip = true },
{ message = "^feat", group = "Features" },
{ message = "^fix", group = "Bug Fixes" },
{ message = "^docs", group = "Documentation" },
{ message = "^perf", group = "Performance" },
{ message = "^refactor", group = "Refactoring" },
{ message = "^build", group = "Build" },
{ message = "^test", group = "Testing" },
{ message = "^ci", group = "CI" },
{ message = "^style", group = "Style" },
{ message = "^chore", group = "Chore" },
{ message = "^revert", group = "Reverts" },
{ message = ".*", group = "Other" },
]