-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcliff.toml
More file actions
38 lines (35 loc) · 1.29 KB
/
cliff.toml
File metadata and controls
38 lines (35 loc) · 1.29 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
# git-cliff configuration for Flamingock CLI release notes
# https://git-cliff.org/docs/configuration
[changelog]
# No header/footer — the GitHub Release page already shows the version title
header = ""
footer = ""
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 %}\n
"""
trim = true
[git]
conventional_commits = true
filter_unconventional = true
filter_commits = true
tag_pattern = "v[0-9].*"
skip_tags = "v0.0.0"
sort_commits = "oldest"
commit_parsers = [
{ message = "^feat", group = "<!-- 0 -->Features" },
{ message = "^fix", group = "<!-- 1 -->Bug Fixes" },
{ message = "^refactor", group = "<!-- 2 -->Refactor" },
{ message = "^doc", group = "<!-- 3 -->Documentation" },
{ message = "^perf", group = "<!-- 4 -->Performance" },
{ message = "^test", group = "<!-- 5 -->Testing" },
{ message = "^revert", group = "<!-- 9 -->Reverts" },
{ message = "^chore\\(release\\)", skip = true },
{ message = "^chore|^ci|^build|^style", group = "<!-- 6 -->Miscellaneous" },
]