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
+1
-1
@@ -26,7 +26,7 @@ bs_tools() {
|
||||
dotnet --info | head -20 ;;
|
||||
dist)
|
||||
echo "==> dist 产物:"
|
||||
ls -lh "$ROOT_DIR"/dist/*/GC-*.zip 2>/dev/null || ls -lh "$ROOT_DIR"/dist 2>/dev/null || true ;;
|
||||
ls -lh "$ROOT_DIR"/dist/*/GCL-*.zip 2>/dev/null || ls -lh "$ROOT_DIR"/dist 2>/dev/null || true ;;
|
||||
*)
|
||||
echo "未知工具: $TASK"; return 1 ;;
|
||||
esac
|
||||
|
||||
Reference in new issue
Block a user