-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcliff.toml
More file actions
53 lines (41 loc) · 1.43 KB
/
cliff.toml
File metadata and controls
53 lines (41 loc) · 1.43 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
[changelog]
header = "# Changelog\n\nAll notable changes to this project will be documented in this file.\n\nThe format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),\nand this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).\n\n"
body = "{% if version %}## [{{ version | trim_start_matches(pat=\"v\") }}] - {{ timestamp | date(format=\"%Y-%m-%d\") }}\n{% endif %}\n{% for group, commits in commits | group_by(attribute=\"group\") %}{% if commits | length > 0 %}### {{ group }}\n{% for commit in commits %}- {{ commit.message | trim }}\n{% endfor %}\n\n{% endif %}{% endfor %}"
trim = true
[git]
conventional_commits = true
filter_unconventional = true
tag_pattern = "v[0-9]*"
[[commit_parsers]]
message = '^feat(\(.*\))?:'
group = "Added"
[[commit_parsers]]
message = '^fix(\(.*\))?:'
group = "Fixed"
[[commit_parsers]]
message = '^docs(\(.*\))?:'
group = "Documentation"
[[commit_parsers]]
message = '^refactor(\(.*\))?:'
group = "Changed"
[[commit_parsers]]
message = '^perf(\(.*\))?:'
group = "Changed"
[[commit_parsers]]
message = '^test(\(.*\))?:'
group = "Changed"
[[commit_parsers]]
message = '^chore(\(.*\))?:'
group = "Changed"
[[commit_parsers]]
message = '^build(\(.*\))?:'
group = "Changed"
[[commit_parsers]]
message = '^ci(\(.*\))?:'
group = "Changed"
[[commit_parsers]]
message = '^style(\(.*\))?:'
group = "Changed"
[[commit_parsers]]
message = '^revert(\(.*\))?:'
group = "Changed"