[fix] prevent older releases from overwriting update metadata

This commit is contained in:
dijunkun
2026-10-21 23:03:32 +08:00
parent 171e559b0d
commit 6abcafc205
2 changed files with 62 additions and 14 deletions
+5
View File
@@ -59,6 +59,11 @@ GitHub Actions 从分支手动打包时,在 `Build and Release` 的
`v1.7.2-20261020`,再验证到 `v1.7.3-20261020` 的升级。
分支手动构建只上传 Actions 构建产物,不会自动发布版本清单。
发布脚本按数字版本和 patch 比较版本,忽略构建日期。编辑或重新发布旧的
桌面 Release 时,保留服务器现有清单并在 Actions 日志中说明跳过原因;
同版本仍可更新发布说明,新版本正常发布。各平台下载记录也不会被较低
版本覆盖,包括独立移动端发布和桌面 Release 附带的移动端安装包。
本地构建可以设置同名环境变量,或使用:
```sh