22header = " "
33body = """
44{% if version %}\
5- # acro {{ version | trim_start_matches(pat="V") }}
6-
5+ # acro {{ version | trim_start_matches(pat="V") }} ({{ timestamp | date(format="%b %d, %Y") }})
76{% else %}\
87# Unreleased
9-
108{% endif %}\
9+ {% for group, commits in commits | group_by(attribute="group") %}
10+ ### {{ group }}
1111{% for commit in commits -%}
12- * {% if commit.scope %}{{ commit.group }}({{ commit.scope }}): {% else %}{{ commit.group }}: {% endif %}{{ commit.message | trim }}
13- {% endfor %}\
12+ * {% if commit.scope %}**{{ commit.scope }}:** {% endif %}{{ commit.message | trim }}
13+ {% endfor %}
14+ {%- endfor %}\
1415"""
1516trim = true
1617footer = " "
@@ -29,16 +30,17 @@ commit_preprocessors = [
2930commit_parsers = [
3031 { message = " ^\\ [pre-commit" , skip = true },
3132 { message = " ^docs: update changelog" , skip = true },
33+ { message = " ^docs: update citation" , skip = true },
3234 { message = " ^chore: prepare" , skip = true },
3335 { message = " ^feat" , group = " feat" },
3436 { message = " ^fix" , group = " fix" },
3537 { message = " ^docs" , group = " docs" },
36- { message = " ^chore" , group = " chore" },
37- { message = " ^ci" , group = " ci" },
38+ { message = " ^perf" , group = " perf" },
3839 { message = " ^refactor" , group = " refactor" },
39- { message = " ^test" , group = " test" },
4040 { message = " ^build" , group = " build" },
41- { message = " ^perf" , group = " perf" },
41+ { message = " ^test" , group = " test" },
42+ { message = " ^ci" , group = " ci" },
4243 { message = " ^style" , group = " style" },
44+ { message = " ^chore" , group = " chore" },
4345 { message = " ^revert" , group = " revert" },
4446]
0 commit comments