improve(cliff.toml):更新Release模板

Signed-off-by: doudou0720 <98651603+doudou0720@users.noreply.github.com>
This commit is contained in:
doudou0720
2026-02-07 23:35:29 +08:00
parent 88a8d8fa4b
commit 46e0b04dd1
+6 -2
View File
@@ -20,6 +20,8 @@ body = """
{% endfor %}
{% endfor %}
----
- 该版本有 {{ statistics.commit_count }} 次提交
- 在提交中检测到 {{ statistics.links | length }} 个关联议题
{%- if statistics.links | length > 0 %}
@@ -71,7 +73,7 @@ protect_breaking_commits = false
# Optionally sets the commit's scope and can decide to exclude commits from further processing.
commit_parsers = [
{ message = "^(add|新增|添加)", group = "<!-- 0 -->🚀 新增功能" },
{ message = "^(feat|add|新增|添加)", group = "<!-- 0 -->🚀 新增功能" },
{ message = "^(fix|修复)", group = "<!-- 1 -->🐛 修复" },
{ message = "^doc", group = "<!-- 5 -->📚 文档更改" },
{ message = "^(improve|改进|优化)", group = "<!-- 3 -->⚡ 体验优化" },
@@ -92,7 +94,9 @@ commit_parsers = [
# Exclude commits that are not matched by any commit parser.
filter_commits = false
# An array of link parsers for extracting external references, and turning them into URLs, using regex.
link_parsers = []
link_parsers = [
{ pattern = "#(\\d+)", href = "https://github.com/InkCanvasForClass/community/issues/$1"},
]
# Include only the tags that belong to the current branch.
use_branch_tags = false
# Order releases topologically instead of chronologically.