fix: 兼容生产服务器旧版 Git #15

Merged
lunanting merged 1 commits from codex/legacy-git-build-script-0917 into main 2026-09-17 11:56:12 +08:00
Owner

生产构建脚本不再使用服务器旧版 Git 不支持的 git -C 和 branch --show-current,改为进入仓库目录并通过 symbolic-ref 读取分支。bash -n 与差异检查通过;仅影响部署脚本兼容性。

生产构建脚本不再使用服务器旧版 Git 不支持的 `git -C` 和 `branch --show-current`,改为进入仓库目录并通过 `symbolic-ref` 读取分支。`bash -n` 与差异检查通过;仅影响部署脚本兼容性。
lunanting added 1 commit 2026-09-17 11:55:57 +08:00
lunanting merged commit a928135a63 into main 2026-09-17 11:56:12 +08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lunanting/cangku#15
No description provided.