mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-05-07 00:39:00 +08:00
- 修复 semantic-release 配置,切换到 conventionalcommits preset 并显式声明 breaking、revert、patch 语义 - 更新 auto-tag workflow,补充 preview 成功守卫、PAT 存活性校验、snapshot 说明与 release notes summary 输出 - 更新 AGENTS 与 semantic-release topic 的 tracking/trace,记录当前发版规则、验证结果与恢复点
83 lines
1.6 KiB
JSON
83 lines
1.6 KiB
JSON
{
|
|
"branches": [
|
|
"main"
|
|
],
|
|
"tagFormat": "v${version}",
|
|
"plugins": [
|
|
[
|
|
"@semantic-release/commit-analyzer",
|
|
{
|
|
"preset": "conventionalcommits",
|
|
"releaseRules": [
|
|
{
|
|
"breaking": true,
|
|
"release": "major"
|
|
},
|
|
{
|
|
"revert": true,
|
|
"release": "patch"
|
|
},
|
|
{
|
|
"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",
|
|
{
|
|
"preset": "conventionalcommits",
|
|
"parserOpts": {
|
|
"noteKeywords": [
|
|
"BREAKING CHANGE",
|
|
"BREAKING CHANGES"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
]
|
|
}
|