File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 ---\n Auto-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"
You canβt perform that action at this time.
0 commit comments