From 1c273c683836a529fb51f133081b8a330ad16a44 Mon Sep 17 00:00:00 2001 From: Damien Chantelouve Date: Tue, 7 May 2024 16:15:30 +0200 Subject: [PATCH] test(cliff): add commit id after commit message --- cliff.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cliff.toml b/cliff.toml index a1f5aec..bf000ea 100644 --- a/cliff.toml +++ b/cliff.toml @@ -20,11 +20,10 @@ body = """ ## [unreleased] {% endif %}\ {% for group, commits in commits | group_by(attribute="group") %} - ### {{ group | striptags | trim | upper_first }} {% for commit in commits %} - {% if commit.scope %}*({{ commit.scope }})* {% endif %}\ {% if commit.breaking %}[**โš ๏ธ CHANGE**] {% endif %}\ - {{ commit.message | upper_first }}\ + {{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}]({{ commit.id }}))\ {% endfor %} {% endfor %}\n """ @@ -60,7 +59,7 @@ commit_parsers = [ { message = "^fix", group = "๐Ÿ› Bugs fixed" }, { message = "^ticket", group = "๐Ÿšœ Ticket" }, { message = "^update|^refact|^maj", group = "๐Ÿ”จ Update" }, - { message = "^docs", group = "๐Ÿ“š Documentation" }, + { message = "^doc", group = "๐Ÿ“š Documentation" }, { message = "^init", group = "๐Ÿ’ก Initialisation" }, { message = "^style", group = "๐ŸŽจ Style" }, { message = "^test", group = "๐Ÿงช Testing" },