From 52832598eccd2033aa237fbfda846ba5837f5630 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20CORTIER?= Date: Mon, 16 Dec 2024 01:52:48 +0900 Subject: [PATCH] chore(tools): update git-cliff body template --- cliff.toml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/cliff.toml b/cliff.toml index 2cdd5a5d..e077a924 100644 --- a/cliff.toml +++ b/cliff.toml @@ -27,13 +27,7 @@ body = """ {%- for commit in commits %} -{%- if commit.scope %} - {%- set scope = "_" ~ commit.scope ~ "_: " %} - {%- set message = commit.message %} -{%- else %} - {%- set scope = "" %} - {%- set message = commit.message | upper_first %} -{%- endif %} +{%- set message = commit.message | upper_first %} {%- if commit.breaking %} {%- set breaking = "[**breaking**] " %} @@ -45,7 +39,7 @@ body = """ {%- set commit_url = "https://github.com/Devolutions/IronRDP/commit/" ~ commit.id %} {%- set commit_link = "[" ~ short_sha ~ "](" ~ commit_url ~ ")" %} -- {{ scope }}{{ breaking }}{{ message }} ({{ commit_link }}) \ +- {{ breaking }}{{ message }} ({{ commit_link }}) \ {% if commit.body %}\n\n {{ commit.body | replace(from="\n", to="\n ") }}{% endif %} {%- endfor %}