From b7984c6073f07d06896dc5cfbe38cbbd563b078f Mon Sep 17 00:00:00 2001 From: Christian Heusel Date: Sun, 22 Oct 2023 20:37:09 +0200 Subject: [PATCH] chore(release): allow fixes tags without cluttering the changelog Signed-off-by: Christian Heusel --- cliff.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cliff.toml b/cliff.toml index ab01a6b..1dcfe92 100644 --- a/cliff.toml +++ b/cliff.toml @@ -13,7 +13,7 @@ body = """ {%- if component %}{{ component }}: {% elif commit.scope %}{{ commit.scope }}: {% endif %} {{- commit.message | upper_first }} {%- set fixes = commit.footers | filter(attribute="token", value="Fixes") %} - {%- for fix in fixes %}{{ fix.separator }}{{ fix.value }}{% endfor %} + {%- for fix in fixes %}{% if fix.separator == '#' %}{{ fix.separator }}{{ fix.value }}{% endif %}{% endfor %} {%- endfor %} {% endfor %}