Skip to content

Commit

Permalink
chore: fix release notes (#264)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinHjelmare authored Aug 11, 2024
1 parent 8eabe19 commit edf6384
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions templates/.release_notes.md.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{% for category, commits in release["elements"].items() %}
{%- if category not in ("ci", "chore") %}
## {{ category | capitalize }}
{% for commit in commits %}{% if category != "unknown" %}
* {{ commit.descriptions[0] | capitalize }} ([`{{ commit.short_hash }}`]({{ commit.hexsha | commit_hash_url }}))
{% else %}
* {{ commit.message.rstrip() }} ([`{{ commit.short_hash }}`]({{ commit.hexsha | commit_hash_url }}))
{% endif %}{% endfor %}{% endif %}{% endfor %}

0 comments on commit edf6384

Please sign in to comment.