Skip to content

Commit

Permalink
docs(CHANGELOG): add links to generated changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcur committed Jun 29, 2024
1 parent 84d60bf commit 9c88dd2
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions release-plz.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@ body = """
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | striptags | trim | upper_first }}
{% for commit in commits %}
- {% if commit.scope %}*({{ commit.scope }})* {% endif %}\
{% if commit.breaking %}[**breaking**] {% endif %}\
{{ commit.message | upper_first }}\
{%- if commit.scope -%}
- *({{commit.scope}})* {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message }}{%- if commit.links %} ({% for link in commit.links %}[{{link.text}}]({{link.href}}) {% endfor -%}){% endif %}
{% else -%}
- {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message }}
{% endif -%}
([{{commit.id | truncate(length=7, end="")}}](https://github.com/tomcur/termsnap/commit/{{commit.id}}))
{% endfor %}
{% endfor %}\n
"""
Expand Down

0 comments on commit 9c88dd2

Please sign in to comment.