-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcliff.toml
52 lines (44 loc) · 1.39 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[changelog]
header = """
# Changelog\n
All notable changes to this project will be documented in this file.\n
"""
body = """
{% if version %}\
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
{% else %}\
## [unreleased]
{% endif %}\
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | striptags | trim | upper_first }}
{% for commit in commits %}
- {% if commit.scope %}*({{ commit.scope }})* {% endif %}\
{% if commit.breaking %}[**breaking**] {% endif %}\
{{ commit.message | upper_first }}\
{% endfor %}
{% endfor %}\n
"""
footer = """
<!-- built with ❤️ -->
"""
initial_tag="0.0.1"
trim = true
postprocessors = []
render_always = true
output = "CHANGELOG.md"
[git]
split_commits = false
conventional_commits = false
filter_unconventional = false
commit_preprocessors = []
commit_parsers = [
{ message = "^\\[Service\\]", group = "<!-- 0 -->🚀 Services" },
{ message = "^\\[Internal\\]", group = "<!-- 1 -->💼 Internal" },
{ message = "^(\\[Server\\])|(\\[Web\\])|(\\[UI\\])", group = "<!-- 3 -->🤖 Server/Web UI" },
{ message = "^\\[CLI\\]", group = "<!-- 4 -->⚡ CLI" },
{ message = "^\\[Exec\\]", group = "<!-- 4 -->🏃 Executables" },
{ message = ".*", group = "<!-- 5 -->💼 Other" },
]
filter_commits = false
topo_order = false
sort_commits = "oldest"