Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLevente Polyak <anthraxx@archlinux.org>2023-12-19 19:53:09 +0100
committerLevente Polyak <anthraxx@archlinux.org>2023-12-19 20:06:26 +0100
commit0f14d630bce17ddb2d6020b611705ce5f2a4e802 (patch)
tree1406714611a2dceacb80c951ed2bab99294f6cbf
parentd00a2b989044fe452792e108a15b6c901a1a1d4c (diff)
feat(cliff): add label for breaking changes to changelog
-rw-r--r--cliff.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/cliff.toml b/cliff.toml
index 9ffaa9e..8a6c843 100644
--- a/cliff.toml
+++ b/cliff.toml
@@ -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 %}