mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-05-11 04:04:29 +08:00
- 新增 semantic-release 配置并固定 release rules 与 v 前缀 tag 格式 - 重构 auto-tag workflow 为 main 上的真实打标与 workflow_dispatch dry-run 双入口 - 保留现有 publish workflow 并补充 ai-plan 跟踪与验证记录
73 lines
1.3 KiB
JSON
73 lines
1.3 KiB
JSON
{
|
|
"branches": [
|
|
"main"
|
|
],
|
|
"tagFormat": "v${version}",
|
|
"plugins": [
|
|
[
|
|
"@semantic-release/commit-analyzer",
|
|
{
|
|
"releaseRules": [
|
|
{
|
|
"type": "feat",
|
|
"release": "minor"
|
|
},
|
|
{
|
|
"type": "fix",
|
|
"release": "patch"
|
|
},
|
|
{
|
|
"type": "perf",
|
|
"release": "patch"
|
|
},
|
|
{
|
|
"type": "refactor",
|
|
"release": "patch"
|
|
},
|
|
{
|
|
"type": "docs",
|
|
"release": false
|
|
},
|
|
{
|
|
"type": "test",
|
|
"release": false
|
|
},
|
|
{
|
|
"type": "chore",
|
|
"release": false
|
|
},
|
|
{
|
|
"type": "build",
|
|
"release": false
|
|
},
|
|
{
|
|
"type": "ci",
|
|
"release": false
|
|
},
|
|
{
|
|
"type": "style",
|
|
"release": false
|
|
}
|
|
],
|
|
"parserOpts": {
|
|
"noteKeywords": [
|
|
"BREAKING CHANGE",
|
|
"BREAKING CHANGES"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/release-notes-generator",
|
|
{
|
|
"parserOpts": {
|
|
"noteKeywords": [
|
|
"BREAKING CHANGE",
|
|
"BREAKING CHANGES"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
]
|
|
}
|