cliff.toml: Update changelog format to use only single space between sections

Signed-off-by: Michał Iwanicki <michal.iwanicki@3mdeb.com>
This commit is contained in:
Michał Iwanicki
2025-12-12 17:22:12 +01:00
parent d64d22a789
commit 803367e9a8
+4 -2
View File
@@ -19,11 +19,13 @@ body = """
{% endif -%}
{% for group, commits in commits | filter(attribute="merge_commit", value=false) | group_by(attribute="group") %}
### {{ group | upper_first }}
{% for commit in commits %}
{%- set short_message = commit.message | split(pat="\n") | first | trim -%}
- {{ short_message | trim }}\n\
{% endfor %}
{% endfor %}\n
{% endfor %}\
{% endfor %}
"""
# remove the leading and trailing whitespace from the templates