Skip to content

Commit 94efe00

Browse files
Create cliff.toml
1 parent 422a299 commit 94efe00

1 file changed

Lines changed: 50 additions & 0 deletions

File tree

β€Žcliff.tomlβ€Ž

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
[changelog]
2+
header = """
3+
# πŸš€ PyElevate Release Notes
4+
"""
5+
6+
body = """
7+
{% for group, commits in commits | group_by(attribute="group") %}
8+
## {{ group }}
9+
{% for commit in commits %}
10+
- {{ commit.message | upper_first }} ({{ commit.id | truncate(length=7, end="") }})
11+
{% endfor %}
12+
{% endfor %}
13+
"""
14+
15+
footer = "\n---\nAuto-generated changelog"
16+
17+
[git]
18+
conventional_commits = false
19+
20+
# SMART GROUPING
21+
22+
[[git.commit_parsers]]
23+
message = "(?i)feat|add|new"
24+
group = "✨ Features"
25+
26+
[[git.commit_parsers]]
27+
message = "(?i)fix|bug|patch|issue"
28+
group = "πŸ› Fixes"
29+
30+
[[git.commit_parsers]]
31+
message = "(?i)perf|optimi|speed"
32+
group = "⚑ Performance"
33+
34+
[[git.commit_parsers]]
35+
message = "(?i)doc|readme"
36+
group = "πŸ“– Documentation"
37+
38+
[[git.commit_parsers]]
39+
message = "(?i)refactor|cleanup"
40+
group = "♻️ Refactoring"
41+
42+
[[git.commit_parsers]]
43+
message = "(?i)deps|build|ci|workflow"
44+
group = "βš™οΈ Build / CI"
45+
46+
# CATCH-ALL
47+
48+
[[git.commit_parsers]]
49+
message = ".*"
50+
group = "πŸ“ Other Changes"

0 commit comments

Comments
Β (0)