AGC 版本号以仓库为准,新增 bump-version 提升版本命令 #298
Reference in New Issue
Block a user
Delete Branch "fix/agc-release-version-sync"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
实现 AGC 客户端版本号以仓库为准的发布流程,并新增版本提升命令。
原因
本地运行时读取的版本号来自仓库 package.json;但发布时版本号在构建工作区临时确定(默认对 OSS 清单自动 +patch,或由 AGC_RELEASE_VERSION 覆盖),且不回写仓库,导致源码版本与线上 OSS 长期不一致(dev 每次启动误报“发现新版本”)。
方案
Closes #297
Pull request closed