-
Notifications
You must be signed in to change notification settings - Fork 5
/
.versionrc.js
75 lines (75 loc) · 1.65 KB
/
.versionrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
module.exports = {
header: '# 更新日志',
changelogHeader: '# Change Log', // change log title
releaseCommitMessageFormat: 'release: 发布 v{{currentTag}}',
issueUrlFormat: 'http://xxx/bug/{{id}}',
types: [
{
type: 'WIP',
hidden: true,
section: '💪【WIP】:开发中'
},
{
type: 'feat',
section: '✨【feat】:新增功能'
},
{
type: 'fix',
section: '🐛【fix】:修复Bug'
},
{
type: 'style',
hidden: true,
section: '💄【style】:更新UI'
},
{
type: 'docs',
hidden: true,
section: '📝【docs】:更新注释、文档'
},
{
type: 'refactor',
hidden: true,
section: '📦【refactor】:代码重构(不包括 bug 修复、功能新增)'
},
{
type: 'merge',
hidden: true,
section: '🔀【merge】:合并代码'
},
{
type: 'test',
hidden: true,
section: '🚨【test】:添加、修改测试用例'
},
{
type: 'chore',
hidden: true,
section:
'🔨【chore】:对构建过程或辅助工具和库的更改(不影响源文件、测试用例)'
},
{
type: 'ci',
hidden: true,
section: '🔧【ci】:修改 CI 配置、脚本'
},
{
type: 'revert',
hidden: true,
section: '⏪【revert】:版本回退'
},
{
type: 'dep_up',
hidden: true,
section: '💎【dep_up】:更新依赖'
},
{
type: 'release',
section: '🚀【release】:发布版本或标签'
},
{
type: 'init',
section: '🎉【init】:初始化'
}
]
};