diff --git a/config/cliff.toml b/config/cliff.toml index abba68c4..e57b38b1 100644 --- a/config/cliff.toml +++ b/config/cliff.toml @@ -17,7 +17,7 @@ body = """ {% for group, commits in commits | group_by(attribute="group") %} ### {{ group | upper_first }} {% for commit in commits %} - - {{ commit.message | upper_first }}\ + - {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message | upper_first }}\ {% endfor %} {% endfor %}\n """ diff --git a/release.sh b/release.sh index 61005775..815ab48a 100755 --- a/release.sh +++ b/release.sh @@ -14,7 +14,7 @@ if [ -n "$1" ]; then {% for group, commits in commits | group_by(attribute=\"group\") %} {{ group | upper_first }}\ {% for commit in commits %} - - {{ commit.message | upper_first }} ({{ commit.id | truncate(length=7, end=\"\") }})\ + - {% if commit.breaking %}(breaking) {% endif %}{{ commit.message | upper_first }} ({{ commit.id | truncate(length=7, end=\"\") }})\ {% endfor %} {% endfor %}" changelog=$(cargo run -- --unreleased --strip all)