Skip to content

Claude Code. Any Model. The most powerful AI coding agent now speaks every language.

fix(release): keep wrapped BREAKING CHANGE footer lines in the changelog

Jack Rudenko33822aef5b9e
diff --git a/cliff.toml b/cliff.toml
index 79504a9e..740d536a 100644
--- a/cliff.toml
+++ b/cliff.toml
@@ -18,7 +18,7 @@ body = """
{% if breaking | length > 0 %}
### ⚠ BREAKING CHANGES
{% for commit in breaking %}
- - {{ commit.breaking_description | default(value=commit.message) | split(pat="\n") | first | trim }}\
+ - {{ commit.breaking_description | default(value=commit.message) | split(pat="\n\n") | first | split(pat="\n") | join(sep=" ") | trim }}\
{% if commit.scope %} *({{ commit.scope }})* {% endif %}\
([`{{ commit.id | truncate(length=7, end="") }}`](https://github.com/MadAppGang/claudish/commit/{{ commit.id }}))\
{% endfor %}