diff options
author | Christian Heusel <christian@heusel.eu> | 2023-11-24 02:32:02 +0100 |
---|---|---|
committer | Christian Heusel <christian@heusel.eu> | 2023-11-24 02:32:02 +0100 |
commit | 9f8ca5df1a0272bfc1da30d46c4497245cbde417 (patch) | |
tree | 2d01fa0a1d9a7d415e3603eb21ac49a417afe15e /cliff.toml | |
parent | 7825f9fb02c8d9c98c1801350f834df98e3a677c (diff) | |
download | devtools-9f8ca5df1a0272bfc1da30d46c4497245cbde417.tar.xz |
chore(release): nicely format multiple "Component:" trailers
Signed-off-by: Christian Heusel <christian@heusel.eu>
Diffstat (limited to 'cliff.toml')
-rw-r--r-- | cliff.toml | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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") %} |