@@ -64,19 +64,25 @@ changelog:
64
64
- " ^更新文件"
65
65
- " ^测试(:|\\ ()"
66
66
67
+ # 根据正则表达式和标题分组提交消息
68
+ #
69
+ # 顺序值定义分组顺序
70
+ # 未提供正则表达式意味着所有提交都将分组到默认分组下
71
+ #
72
+ # 匹配仅对提交消息的第一行执行,前缀为提交 SHA1,通常采用 `<abbrev-commit>[:] <title-commit>` 形式
73
+ # 当使用 github-native 时,分组被禁用,因为它已经按自身分组
74
+ # 正则表达式使用 RE2 语法,如下所示:https://github.com/google/re2/wiki/Syntax
67
75
groups :
68
76
# feat(UI): 新增用户登录界面、新增: 实现用户认证功能。
69
- # - title: "New Features" # “新功能”
77
+ - title : " New Features" # “新功能”
70
78
# - title: "✨ New Features (新功能)"
71
- - title : " {{ if .Env.USE_EMOJI }}✨ New Features (新功能){{ else }}New Features{{ end }}"
72
79
regexp : ' ^(?i).*?(feat|功能|新增|feature|新特性)(\(.+\))??!?[-:\s].+$'
73
80
order : 100
74
81
75
82
76
83
# fix: 修复UI组件加载延迟问题
77
- # - title: "Bug fixes" # “Bug 修复”
84
+ - title : " Bug fixes" # “Bug 修复”
78
85
# - title: "🐛 Bug Fixes (修复问题)"
79
- - title : " {{ if .Env.USE_EMOJI }}🐛 Bug Fixes (修复问题){{ else }}Bug fixes{{ end }}"
80
86
regexp : ' ^(?i).*?(fix|修复|bug|错误|bugfix)(\(.+\))??!?[-:\s].+$'
81
87
order : 200
82
88
@@ -94,13 +100,13 @@ changelog:
94
100
95
101
# refactor: 代码重构,版本更新。
96
102
- title : " Code Refactor" # “代码重构(既不是增加feature,也不是修复bug)”
97
- - title : " 🚀 Code Refactor (代码重构)"
103
+ # - title: "🚀 Code Refactor (代码重构)"
98
104
regexp : ' ^(?i).*?(refactor|重构|major|大版本)(\(.+\))??!?[-:\s].+$'
99
105
order : 500
100
106
101
107
# pref: 优化用户登录流程,减少加载时间。
102
- # - title: "Code Optimization" # “性能优化”
103
- - title : " ⚡️ Code Optimization (性能优化)"
108
+ - title : " Code Optimization" # “性能优化”
109
+ # - title: "⚡️ Code Optimization (性能优化)"
104
110
regexp : ' ^(?i).*?(perf?|performance|优化|性能|opt?|optimization)(\(.+\))??!?[-:\s].+$'
105
111
order : 600
106
112
@@ -163,7 +169,8 @@ release:
163
169
164
170
> {{.TagContents}}
165
171
166
- Released in {{ .CommitDate }}
172
+ Released at {{ .CommitDate }}
173
+
167
174
168
175
footer : |
169
176
**Full Changelog**: https://github.com/sinspired/ip-scanner/compare/{{ .PreviousTag }}...{{ if .IsNightly }}nightly{{ else }}{{ .Tag }}{{ end }}
0 commit comments