LoveChengke
966c8f9b5d
fix(dist): Linux 包打不出 tar.gz —— 交付目录不再由 staging 顺带创建
1.3.0 把服务端组装中间物从 `releases/server/<版本>/linux-x64/classhelper-server-linux-x64/`
挪进 `.cache/server-staging/` 之后,`releases/server/<版本>/linux-x64/` 就再没有谁创建它了 ——
`tar -czf <那里>/classhelper-server-linux-x64-<版本>.tar.gz` 直接以
`tar (child): ...tar.gz: Cannot open: No such file or directory` 退出码 2 失败。
Windows 侧不受影响(`buildInstaller()` 里有 `mkdirSync(INSTALLER_DIR)`),
所以本地 `pnpm dist:server` 永远踩不到;`release-linux-server.yml` 在 v1.3.0 的 tag 上一跑就红
(run 38109984623 挂在「构建 Linux 安装包」)。补救是幂等的:目录已存在就什么也不做。
`packLinuxTarball()` 的 tar 调用与 1.2.0 逐字节相同,而 1.2.0 的 CI(run 37458412997)是绿的
—— 唯一的差异就是那句隐式创建没了。
2026-10-11 14:17:37 +08:00
..
2026-10-06 16:27:44 +08:00
2026-10-02 00:25:21 +08:00
2026-10-11 11:49:32 +08:00
2026-10-06 19:41:18 +08:00
2026-10-06 16:44:23 +08:00
2026-10-05 16:39:38 +08:00
2026-10-11 14:17:37 +08:00
2026-10-06 15:32:01 +08:00
2026-10-06 16:27:44 +08:00
2026-10-11 11:49:32 +08:00
2026-10-06 18:37:42 +08:00