-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcliff.toml
More file actions
57 lines (56 loc) · 1.98 KB
/
Copy pathcliff.toml
File metadata and controls
57 lines (56 loc) · 1.98 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
56
57
[changelog]
header = ""
body = """
{% set features = commits | filter(attribute="group", value="Features") %}\
{% set docs = commits | filter(attribute="group", value="Documentation") %}\
{% set fixes = commits | filter(attribute="group", value="Bug Fixes") %}\
{% set reverts = commits | filter(attribute="group", value="Reverts") %}\
{% set refactors = commits | filter(attribute="group", value="Refactoring") %}\
{% set tests = commits | filter(attribute="group", value="Tests") %}\
{% set misc = commits | filter(attribute="group", value="Miscellaneous") %}\
{% if features | length > 0 %}
## Features
{% for commit in features %}- {{ commit.message | upper_first }}
{% endfor %}{% endif %}\
{% if docs | length > 0 %}
## Documentation
{% for commit in docs %}- {{ commit.message | upper_first }}
{% endfor %}{% endif %}\
{% if fixes | length > 0 %}
## Bug Fixes
{% for commit in fixes %}- {{ commit.message | upper_first }}
{% endfor %}{% endif %}\
{% if reverts | length > 0 %}
## Reverts
{% for commit in reverts %}- {{ commit.message | upper_first }}
{% endfor %}{% endif %}\
{% if refactors | length > 0 %}
## Refactoring
{% for commit in refactors %}- {{ commit.message | upper_first }}
{% endfor %}{% endif %}\
{% if tests | length > 0 %}
## Tests
{% for commit in tests %}- {{ commit.message | upper_first }}
{% endfor %}{% endif %}\
{% if misc | length > 0 %}
## Miscellaneous
{% for commit in misc %}- {{ commit.message | upper_first }}
{% endfor %}{% endif %}\
"""
footer = ""
trim = true
[git]
conventional_commits = true
filter_unconventional = false
merge_commits = false
commit_parsers = [
{ message = "^feat", group = "Features" },
{ message = "^docs?", group = "Documentation" },
{ message = "^fix", group = "Bug Fixes" },
{ message = "^revert", group = "Reverts" },
{ message = "^refactor", group = "Refactoring" },
{ message = "^test", group = "Tests" },
{ message = "^ci|^build|^chore|^style|^perf", group = "Miscellaneous" },
]
filter_commits = false
tag_pattern = "v[0-9]*\\.[0-9]*"