forked from xencon/aixcl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcliff.toml
More file actions
55 lines (53 loc) · 2.23 KB
/
Copy pathcliff.toml
File metadata and controls
55 lines (53 loc) · 2.23 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
50
51
52
53
54
55
[changelog]
header = ""
body = """
## [{{ version }}] - {{ timestamp | date(format="%Y-%m-%d") }}
### Summary
<!-- TODO: one sentence describing the release -->
{% if commits | filter(attribute="group", value="Added") | length > 0 %}
### Added
{% for commit in commits | filter(attribute="group", value="Added") %}
- [x] **{{ commit.message | split(pat=":") | last | trim | capitalize }}**: {{ commit.message | split(pat=":") | last | trim | capitalize }}.{% endfor %}
{% endif %}
{% if commits | filter(attribute="group", value="Changed") | length > 0 %}
### Changed
{% for commit in commits | filter(attribute="group", value="Changed") %}
- [x] **{{ commit.message | split(pat=":") | last | trim | capitalize }}**: {{ commit.message | split(pat=":") | last | trim | capitalize }}.{% endfor %}
{% endif %}
{% if commits | filter(attribute="group", value="Fixed") | length > 0 %}
### Fixed
{% for commit in commits | filter(attribute="group", value="Fixed") %}
- [x] **{{ commit.message | split(pat=":") | last | trim | capitalize }}**: {{ commit.message | split(pat=":") | last | trim | capitalize }}.{% endfor %}
{% endif %}
{% if commits | filter(attribute="group", value="Documentation") | length > 0 %}
### Documentation
{% for commit in commits | filter(attribute="group", value="Documentation") %}
- [x] **{{ commit.message | split(pat=":") | last | trim | capitalize }}**: {{ commit.message | split(pat=":") | last | trim | capitalize }}.{% endfor %}
{% endif %}
"""
trim = true
footer = ""
[git]
conventional_commits = true
filter_unconventional = true
split_commits = false
commit_preprocessors = [
{ pattern = '\(#(\d+)\)', replace = "(Closes #${1})" },
]
commit_parsers = [
{ message = "^feat", group = "Added" },
{ message = "^fix", group = "Fixed" },
{ message = "^refactor", group = "Changed" },
{ message = "^chore", group = "Changed" },
{ message = "^docs", group = "Documentation" },
{ message = "^test", group = "Changed" },
{ message = "^ci", group = "Changed" },
{ message = "^\\[OVERRIDE\\]", group = "Changed" },
{ message = "^Merge", skip = true },
{ message = "^Sync", skip = true },
{ message = "^Release", skip = true },
]
filter_commits = true
tag_pattern = "v[0-9]+\\.[0-9]+\\.[0-9]+"
topo_order = false
sort_commits = "newest"