improve(cliff.toml):更新Release模板
Signed-off-by: doudou0720 <98651603+doudou0720@users.noreply.github.com>
This commit is contained in:
+6
-2
@@ -20,6 +20,8 @@ body = """
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
----
|
||||||
|
|
||||||
- 该版本有 {{ statistics.commit_count }} 次提交
|
- 该版本有 {{ statistics.commit_count }} 次提交
|
||||||
- 在提交中检测到 {{ statistics.links | length }} 个关联议题
|
- 在提交中检测到 {{ statistics.links | length }} 个关联议题
|
||||||
{%- if statistics.links | length > 0 %}
|
{%- 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.
|
# Optionally sets the commit's scope and can decide to exclude commits from further processing.
|
||||||
|
|
||||||
commit_parsers = [
|
commit_parsers = [
|
||||||
{ message = "^(add|新增|添加)", group = "<!-- 0 -->🚀 新增功能" },
|
{ message = "^(feat|add|新增|添加)", group = "<!-- 0 -->🚀 新增功能" },
|
||||||
{ message = "^(fix|修复)", group = "<!-- 1 -->🐛 修复" },
|
{ message = "^(fix|修复)", group = "<!-- 1 -->🐛 修复" },
|
||||||
{ message = "^doc", group = "<!-- 5 -->📚 文档更改" },
|
{ message = "^doc", group = "<!-- 5 -->📚 文档更改" },
|
||||||
{ message = "^(improve|改进|优化)", group = "<!-- 3 -->⚡ 体验优化" },
|
{ message = "^(improve|改进|优化)", group = "<!-- 3 -->⚡ 体验优化" },
|
||||||
@@ -92,7 +94,9 @@ commit_parsers = [
|
|||||||
# Exclude commits that are not matched by any commit parser.
|
# Exclude commits that are not matched by any commit parser.
|
||||||
filter_commits = false
|
filter_commits = false
|
||||||
# An array of link parsers for extracting external references, and turning them into URLs, using regex.
|
# 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.
|
# Include only the tags that belong to the current branch.
|
||||||
use_branch_tags = false
|
use_branch_tags = false
|
||||||
# Order releases topologically instead of chronologically.
|
# Order releases topologically instead of chronologically.
|
||||||
|
|||||||
Reference in New Issue
Block a user