-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.release-it.json
86 lines (86 loc) · 1.98 KB
/
.release-it.json
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
76
77
78
79
80
81
82
83
84
85
86
{
"git": {
"commit": false,
"tag": false,
"push": false,
"requireCleanWorkingDir": false
},
"github": {
"release": false
},
"npm": {
"publish": false
},
"plugins": {
"@release-it/conventional-changelog": {
"infile": "CHANGELOG.md",
"preset": {
"name": "conventionalcommits",
"types": [
{
"type": "feat",
"section": "✨ 新功能"
},
{
"type": "fix",
"section": "🐛 修复"
},
{
"type": "style",
"section": "🎨 代码风格"
},
{
"type": "docs",
"section": "📚 文档更新"
},
{
"type": "chore",
"section": "🔧 其他更新"
},
{
"type": "refactor",
"section": "♻️ 重构"
},
{
"type": "perf",
"section": "⚡ 性能优化"
},
{
"type": "test",
"section": "✅ 测试"
},
{
"type": "ci",
"section": "🔄 持续集成"
},
{
"type": "build",
"section": "🏗️ 构建系统"
},
{
"type": "revert",
"section": "⏪ 回滚"
},
{
"type": "deps",
"section": "📦 依赖更新"
},
{
"type": "infra",
"section": "🛠️ 基础设施"
},
{
"type": "security",
"section": "🔒 安全更新"
},
{
"type": "env",
"section": "🌍 环境变量更新"
}
]
},
"header": "# 变更日志",
"template": "{{#each commitGroups}}{{#if commits}}\n### {{title}}\n\n{{#each commits}}{{#unless header.match('[skip]')}}- {{header}}\n{{/unless}}{{/each}}\n{{/if}}{{/each}}"
}
}
}