bump-version 提交前校验,存在其他暂存改动时中止
- --commit 在改动任何版本文件前先检查已暂存文件,发现版本文件外的暂存改动则中止并提示,避免误提交无关内容 - 同步 AGC 更新技术方案文档说明
This commit is contained in:
@@ -59,7 +59,8 @@ npm run ai-game-creator-shell:bump-version -- --version 0.1.25 --commit
|
||||
```
|
||||
|
||||
若先用默认方式写入版本(未提交),再补 `--commit`,命令会识别到工作区已提升、直接提交现有改动,
|
||||
**不会重复递增**。提交标题固定为“提升 AGC 版本至 x.y.z”。
|
||||
**不会重复递增**。提交前若检测到**除版本文件外的其他已暂存改动**,会中止并提示先处理,避免误提交无关内容。
|
||||
提交标题固定为“提升 AGC 版本至 x.y.z”。
|
||||
|
||||
**发布只读仓库版本(`npm run ai-game-creator-shell:build` 与 `release:upload`)**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user