Skip to content

Commit

Permalink
fix: changelog template (opentargets#424)
Browse files Browse the repository at this point in the history
  • Loading branch information
d0choa authored Jan 17, 2024
1 parent a30d53a commit 40145ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/CHANGELOG.md.j2
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{% for commit in context.history.unreleased[type_] %}
{% set scope = commit_scope(commit.commit.summary).split("(")[1] | replace(")", "") | default ("", true) %}
- {% if scope %}\[**{{ scope }}**\]{%endif%}{{ commit_content(commit.commit.summary) }} [\@{{ commit.commit.author.name }}](mailto:{{commit.commit.author.email}})
{% endfor %}{% endif %}{% endfor %}
{% endfor %}{% endif %}{% endfor %}{% endif %}

{# RELEASED #}
{% for version, release in context.history.released.items() %}
Expand All @@ -24,4 +24,4 @@
{% for commit in release["elements"][type_] %}
{% set scope = commit_scope(commit.commit.summary).split("(")[1] | replace(")", "") | default ("", true) %}
- {% if scope %}\[**{{ scope }}**\]{%endif%}{{ commit_content(commit.commit.summary) }} [\@{{ commit.commit.author.name }}](mailto:{{commit.commit.author.email}})
{% endfor %}{% endif %}{% endfor %}
{% endfor %}{% endif %}{% endfor %}{% endfor %}

0 comments on commit 40145ec

Please sign in to comment.