From 40145ec1590d110136dfada5e85b44613594876d Mon Sep 17 00:00:00 2001 From: David Ochoa Date: Wed, 17 Jan 2024 12:12:03 +0000 Subject: [PATCH] fix: changelog template (#424) --- templates/CHANGELOG.md.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/CHANGELOG.md.j2 b/templates/CHANGELOG.md.j2 index b5b516417..48684f03d 100644 --- a/templates/CHANGELOG.md.j2 +++ b/templates/CHANGELOG.md.j2 @@ -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() %} @@ -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 %}