-
Notifications
You must be signed in to change notification settings - Fork 2
/
.release-it.json
30 lines (30 loc) · 1.46 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
{
"git": {
"commitMessage": "ci: 更新版本至 ${version}"
},
"plugins": {
"@release-it/conventional-changelog": {
"infile": "CHANGELOG.md",
"header": "# 更新日志\n\n---\n\n",
"preset": {
"name": "conventionalcommits",
"types": [
{ "type": "feat", "section": "✨ Features | 新功能" },
{ "type": "fix", "section": "🐛 Bug Fixes | Bug 修复" },
{ "type":"perf", "section":"⚡ Performance Improvements | 性能优化" },
{ "type": "revert", "section": "⏪ Reverts | 回退" },
{ "type": "chore", "section": "📦 Chores | 其他更新", "hidden": true },
{ "type": "docs", "section": "📝 Documentation | 文档", "hidden": true },
{ "type": "style", "section": "💄 Styles | 风格", "hidden": true },
{ "type": "refactor", "section": "♻ Code Refactoring | 代码重构" },
{ "type": "test", "section": "✅ Tests | 测试", "hidden": true },
{ "type": "build", "section": "👷 Build System | 构建", "hidden": true },
{ "type": "ci", "section": "🔧 Continuous Integration | CI 配置", "hidden": true }
],
"commitUrlFormat": "https://github.com/lpreterite/md2docx/commit/{{hash}}",
"issueUrlFormat": "https://github.com/lpreterite/md2docx/issues/{{id}}",
"compareUrlFormat": "https://github.com/lpreterite/md2docx/compare/{{previousTag}}...{{currentTag}}"
}
}
}
}