Skip to content

Commit

Permalink
fix: adjust jinja check for changelog template
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco committed Jun 9, 2024
1 parent 2b770e9 commit e5f55c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/CHANGELOG.md.j2
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
### {{ category | capitalize }}
{# List actual changes in the category #}
{%- for commit in commits %}
{% if commit is not none and commit.descriptions is not none %}
{% if commit is not none and commit.descriptions is defined %}
- {{ commit.descriptions[0] | capitalize }} ([`{{ commit.short_hash }}`]({{ commit.hexsha | commit_hash_url }}))
{% endif %}
{%- endfor %}{# for commit #}
Expand Down

0 comments on commit e5f55c1

Please sign in to comment.