fix(release): preserve native prebuilds in git fixtures (#128210)

This commit is contained in:
Peter Steinberger
2026-08-23 05:33:05 -07:00
committed by GitHub
parent 7d816a2a06
commit 0d18fa8d8b
3 changed files with 12 additions and 8 deletions
@@ -25,7 +25,11 @@ tar -xzf "$package_tgz" -C "$git_root" --strip-components=1
node scripts/e2e/lib/package-git-fixture.mjs prepare "$git_root"
(
cd "$git_root"
openclaw_e2e_maybe_timeout "${OPENCLAW_E2E_NPM_INSTALL_TIMEOUT:-600s}" npm install --omit=optional --no-fund --no-audit >/tmp/openclaw-git-install.log 2>&1
# Git-style fixtures still need optional native prebuilds; omit only development dependencies.
if ! openclaw_e2e_maybe_timeout "${OPENCLAW_E2E_NPM_INSTALL_TIMEOUT:-600s}" npm install --omit=dev --no-fund --no-audit >/tmp/openclaw-git-install.log 2>&1; then
openclaw_e2e_print_log /tmp/openclaw-git-install.log >&2
exit 1
fi
git init -q
git config user.email "docker-e2e@openclaw.local"
git config user.name "OpenClaw Docker E2E"
+2 -1
View File
@@ -61,7 +61,8 @@ node scripts/e2e/lib/package-git-fixture.mjs prepare "$git_root"
node scripts/e2e/lib/update-channel-switch/assertions.mjs prepare-git-fixture "$git_root"
(
cd "$git_root"
if ! openclaw_e2e_maybe_timeout "${OPENCLAW_E2E_NPM_INSTALL_TIMEOUT:-600s}" npm install --omit=optional --no-fund --no-audit >/tmp/openclaw-git-install.log 2>&1; then
# Git-style fixtures still need optional native prebuilds; omit only development dependencies.
if ! openclaw_e2e_maybe_timeout "${OPENCLAW_E2E_NPM_INSTALL_TIMEOUT:-600s}" npm install --omit=dev --no-fund --no-audit >/tmp/openclaw-git-install.log 2>&1; then
openclaw_e2e_print_log /tmp/openclaw-git-install.log >&2
exit 1
fi