From 803367e9a8873478c2443f97a74d4e41bcb78f92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Iwanicki?= Date: Fri, 12 Dec 2025 17:22:12 +0100 Subject: [PATCH] cliff.toml: Update changelog format to use only single space between sections MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: MichaƂ Iwanicki --- cliff.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cliff.toml b/cliff.toml index c67e4e7..ecb4e88 100644 --- a/cliff.toml +++ b/cliff.toml @@ -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