-
Notifications
You must be signed in to change notification settings - Fork 1
/
.release-it.json
51 lines (51 loc) · 1.83 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
{
"hooks": {
"after:bump": "auto-changelog -p"
},
"git": {
"changelog": "auto-changelog --stdout --commit-limit false",
"requireCleanWorkingDir": false,
"requireUpstream": true,
"requireCommits": false,
"addUntrackedFiles": false,
"commit": true,
"commitMessage": "version:release v${version}",
"commitArgs": "",
"tag": true,
"tagName": "v${version}",
"tagAnnotation": "Release v${version}",
"tagArgs": "",
"push": true,
"pushArgs": "--follow-tags",
"pushRepo": "origin"
},
"npm": {
"publish": false,
"publishPath": "",
"access": null,
"otp": null
},
"plugins": {
"@release-it/conventional-changelog": {
"infile": "CHANGELOG.md",
"preset": {
"name": "conventionalcommits",
"header": "# 📋 更新历史 \n\n",
"types": [
{ "type": "feat", "section": "✨ Features | 新特性" },
{ "type": "fix", "section": "🐛 Bug Fixes | Bug 修复" },
{ "type": "perf", "section": "⚡ Performance Improvements | 性能优化" },
{ "type": "revert", "section": "⏪ Reverts | 代码回退" },
{ "type": "chore", "section": "📦 Chores | 其余更新" },
{ "type": "docs", "section": "📝 Documentation | 文档修改" },
{ "type": "style", "section": "💄 Styles | 代码格式调整", "hidden": true },
{ "type": "refactor", "section": "♻ Code Refactoring | 代码重构" },
{ "type": "test", "section": "✅ Tests | 测试用例" },
{ "type": "build", "section": "👷 Build System | 构建" },
{ "type": "ci", "section": "🔧 Continuous Integration | CI 配置" }
],
"commitUrlFormat": "{{host}}/{{owner}}/{{repository}}/commit/{{hash}}"
}
}
}
}