Skip to content

Commit 93bf22a

Browse files
authored
Merge branch 'main' into refactor/remove-async-trait
2 parents 0858a2c + 4b75e60 commit 93bf22a

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

release-plz.toml

+21
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,27 @@ git_tag_enable = true
4747
changelog_update = true
4848

4949
[changelog]
50+
body = """
51+
## [{{ version | trim_start_matches(pat="v") }}]\
52+
{%- if release_link -%}\
53+
({{ release_link }})\
54+
{% endif %} \
55+
- {{ timestamp | date(format="%Y-%m-%d") }}
56+
{% for group, commits in commits | group_by(attribute="group") %}
57+
### {{ group | upper_first }}
58+
{% for commit in commits %}
59+
{%- if commit.scope -%}
60+
- *({{commit.scope}})* {% if commit.breaking %}[**breaking**] {% endif %}\
61+
{{ commit.message }} by @{{ commit.author.name }}\
62+
{%- if commit.links %} \
63+
({% for link in commit.links %}[{{link.text}}]({{link.href}}) {% endfor -%})\
64+
{% endif %}
65+
{% else -%}
66+
- {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message }} by @{{ commit.author.name }}
67+
{% endif -%}
68+
{% endfor -%}
69+
{% endfor %}
70+
"""
5071
commit_parsers = [
5172
{ message = "^feat", group = "added" },
5273
{ message = "^changed", group = "changed" },

0 commit comments

Comments
 (0)