refactor(build): 末次签名去重、删死代码、zip 可复现
构建脚本对齐与清理(追加到发布校验 PR): - 完整 build 只在打包末尾签一次清单(stamp_versions --no-sign + pack_launcher 末尾 stamp_launcher_only),去掉中间冗余签名。 ECDSA 随机 nonce + signedAt 时间戳会让每次签名字节都不同, 两次签名既浪费又让中间产物反复抖动;单独 stamp/models 工具签名行为不变。 - 删除死代码 publish_backend()(后端已进程内托管,无调用者)。 - 所有 zip 命令加 -X(去掉 extra fields),让相同内容的包字节一致。 - 修复 tools.sh 的 dist 命令文件名过滤 GC-*.zip -> GCL-*.zip。 - PowerShell 版同步上述末次签名改动。
This commit is contained in:
1 parent
59a66c8fa8
commit
4bdfb49600
4 files changed
+28
-29
No files matched your search
+3
-1
@@ -71,7 +71,9 @@ bs_build() {
|
||||
fi
|
||||
|
||||
progress_step "版本戳"; progress_tick 100
|
||||
stamp_versions
|
||||
# 末次签名:这里只生成清单不签名,等 pack_launcher 打完 zip、刷新完包信息后统一签一次。
|
||||
# 避免 ECDSA 随机签名 + 时间戳导致清单在中间反复变化。
|
||||
stamp_versions --no-sign
|
||||
|
||||
# 每个 publish 用后台任务包裹,边跑边按「已用时/预估用时」推进当前步骤进度
|
||||
_run_publish() {
|
||||
|
||||
Reference in new issue
Block a user