Skip to content

Commit

Permalink
fix: changelog generation (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco authored Jun 9, 2024
1 parent 83f2ef6 commit 2b770e9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions templates/CHANGELOG.md.j2
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
{# Category title: Breaking, Fix, Documentation #}
### {{ category | capitalize }}
{# List actual changes in the category #}
{%- for commit in commits %}
{% if commit is not none and commit.descriptions is not none %}
- {{ commit.descriptions[0] | capitalize }} ([`{{ commit.short_hash }}`]({{ commit.hexsha | commit_hash_url }}))
{% endif %}
{%- endfor %}{# for commit #}

{%- endfor %}{# for category, commits #}

Expand Down

0 comments on commit 2b770e9

Please sign in to comment.