diff options
author | Levente Polyak <anthraxx@archlinux.org> | 2023-12-19 19:53:09 +0100 |
---|---|---|
committer | Levente Polyak <anthraxx@archlinux.org> | 2023-12-19 20:06:26 +0100 |
commit | 0f14d630bce17ddb2d6020b611705ce5f2a4e802 (patch) | |
tree | 1406714611a2dceacb80c951ed2bab99294f6cbf /cliff.toml | |
parent | d00a2b989044fe452792e108a15b6c901a1a1d4c (diff) | |
download | devtools-0f14d630bce17ddb2d6020b611705ce5f2a4e802.tar.xz |
feat(cliff): add label for breaking changes to changelog
Diffstat (limited to 'cliff.toml')
-rw-r--r-- | cliff.toml | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -12,6 +12,7 @@ body = """ - {% 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 }} + {%- if commit.breaking %} (breaking){% endif %} {%- set fixes = commit.footers | filter(attribute="token", value="Fixes") %} {%- for fix in fixes %}{% if fix.separator == '#' %}{{ fix.separator }}{{ fix.value }}{% endif %}{% endfor %} {%- endfor %} |