From 310484a8cc0c2c728aa11e234668697ccbefc191 Mon Sep 17 00:00:00 2001 From: Kevin Morris Date: Tue, 8 Feb 2022 09:39:14 -0800 Subject: [PATCH] change: display git-cliff's commit scope Signed-off-by: Kevin Morris --- cliff.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cliff.toml b/cliff.toml index bc09935b..4d65fd3a 100644 --- a/cliff.toml +++ b/cliff.toml @@ -13,7 +13,7 @@ Release {{ version }} - {{ timestamp | date(format="%Y-%m-%d") }} {% for group, commits in commits | group_by(attribute="group") %} {{ group | lower }}:\ {% for commit in commits %} -- {{ commit.id | truncate(length=8, end="") }}: {{ commit.message }}\ +- {{ commit.id | truncate(length=8, end="") }}: {% if commit.scope %}({{ commit.scope }}) {% endif %}{{ commit.message }}\ {% endfor %} {% endfor %}\n """