Skip to content

Commit

Permalink
Update release-plz.toml (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
sugyan authored Sep 19, 2024
1 parent 3de9048 commit 2c206d6
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions release-plz.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,27 @@ git_tag_enable = true
changelog_update = true

[changelog]
body = """
## [{{ version | trim_start_matches(pat="v") }}]\
{%- if release_link -%}\
({{ release_link }})\
{% endif %} \
- {{ timestamp | date(format="%Y-%m-%d") }}
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | upper_first }}
{% for commit in commits %}
{%- if commit.scope -%}
- *({{commit.scope}})* {% if commit.breaking %}[**breaking**] {% endif %}\
{{ commit.message }} by @{{ commit.author.name }}\
{%- if commit.links %} \
({% for link in commit.links %}[{{link.text}}]({{link.href}}) {% endfor -%})\
{% endif %}
{% else -%}
- {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message }} by @{{ commit.author.name }}
{% endif -%}
{% endfor -%}
{% endfor %}
"""
commit_parsers = [
{ message = "^feat", group = "added" },
{ message = "^changed", group = "changed" },
Expand Down

0 comments on commit 2c206d6

Please sign in to comment.