-
Notifications
You must be signed in to change notification settings - Fork 108
Expand file tree
/
Copy pathcliff.toml
More file actions
40 lines (31 loc) · 1.12 KB
/
Copy pathcliff.toml
File metadata and controls
40 lines (31 loc) · 1.12 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
# https://git-cliff.org/docs/configuration
[changelog]
body = """
{% for group, commits in commits | group_by(attribute="group") %}
## {{ group | striptags | trim }}
{% for commit in commits -%}
- {% if commit.scope %}*({{ commit.scope }})* {% endif %}{% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message | upper_first }}
{% endfor -%}
{% endfor %}
"""
trim = true
[bump]
initial_tag = "v0.1.0"
breaking_always_bump_major = false
[git]
conventional_commits = true
tag_pattern = "^v[0-9]+\\.[0-9]+\\.[0-9]+(?:-rc\\.[0-9]+)?$"
commit_parsers = [
{ message = "^feat", group = "<!-- 0 -->New Features" },
{ message = "^fix", group = "<!-- 1 -->Bug Fixes" },
{ message = "^docs", group = "<!-- 2 -->Documentation" },
{ message = "^refactor", group = "<!-- 3 -->Refactoring" },
{ message = "^perf", group = "<!-- 4 -->Performance" },
{ message = "^ci", group = "<!-- 5 -->CI" },
{ message = "^test", group = "<!-- 6 -->Tests" },
{ message = "^(build|chore)", group = "<!-- 7 -->Chores" },
{ message = ".*", group = "<!-- 8 -->Other" },
]
filter_unconventional = true
sort_commits = "oldest"
topo_order = false