Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heusel <christian@heusel.eu>2023-11-24 02:32:02 +0100
committerChristian Heusel <christian@heusel.eu>2023-11-24 02:32:02 +0100
commit9f8ca5df1a0272bfc1da30d46c4497245cbde417 (patch)
tree2d01fa0a1d9a7d415e3603eb21ac49a417afe15e
parent7825f9fb02c8d9c98c1801350f834df98e3a677c (diff)
chore(release): nicely format multiple "Component:" trailers
Signed-off-by: Christian Heusel <christian@heusel.eu>
-rw-r--r--cliff.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/cliff.toml b/cliff.toml
index 1dcfe92..9ffaa9e 100644
--- a/cliff.toml
+++ b/cliff.toml
@@ -9,7 +9,7 @@ body = """
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | upper_first }}
{% for commit in commits | sort(attribute="message") %}
- - {% set component = commit.footers | filter(attribute="token", value="Component") | map(attribute="value") | join %}
+ - {% set component = commit.footers | filter(attribute="token", value="Component") | map(attribute="value") | join(sep=", ") %}
{%- if component %}{{ component }}: {% elif commit.scope %}{{ commit.scope }}: {% endif %}
{{- commit.message | upper_first }}
{%- set fixes = commit.footers | filter(attribute="token", value="Fixes") %}