From 6ac32ea29fafb56c42798f6b84e62a013dda4397 Mon Sep 17 00:00:00 2001 From: prajjwalkumar17 Date: Tue, 10 Dec 2024 17:00:04 +0530 Subject: [PATCH] ci: refactor git-cliff-release script to have @ for mentions --- .github/git-cliff-release.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/git-cliff-release.toml b/.github/git-cliff-release.toml index 350147f..1db3d45 100644 --- a/.github/git-cliff-release.toml +++ b/.github/git-cliff-release.toml @@ -22,12 +22,12 @@ body = """ - {{ "**" ~ scope ~ ":" ~ "**" -}} {% for commit in commits -%} {% if commits | length != 1 %}{{ newline ~ " - " }}{% else %}{{ " " }}{% endif -%} - {{ commit.message | upper_first | trim }} ([`{{ commit.id | truncate(length=7, end="") }}`]({{ commit_base_url ~ commit.id }})) by {{ commit.remote.username -}} + {{ commit.message | upper_first | trim }} ([`{{ commit.id | truncate(length=7, end="") }}`]({{ commit_base_url ~ commit.id }})) by @{{ commit.remote.username -}} {%- endfor -%} {%- endfor -%} {%- for commit in commits -%} {% if commit.scope %}{% else %} - - {{ commit.message | upper_first | trim }} ([`{{ commit.id | truncate(length=7, end="") }}`]({{ commit_base_url ~ commit.id }})) by {{ commit.remote.username -}} + - {{ commit.message | upper_first | trim }} ([`{{ commit.id | truncate(length=7, end="") }}`]({{ commit_base_url ~ commit.id }})) by @{{ commit.remote.username -}} {%- endif %} {%- endfor %} {% endfor %}