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
+5 -6
View File
@@ -2436,7 +2436,7 @@ docker_e2e_docker_run_cmd run demo
'openclaw_e2e_install_package "$ARTIFACTS/install-a.log" "OpenClaw package under node-A prefix" "$NPM_PREFIX_A"',
);
expectTextToIncludeAll(updateChannel, [
'openclaw_e2e_maybe_timeout "${OPENCLAW_E2E_NPM_INSTALL_TIMEOUT:-600s}" npm install --omit=optional --no-fund --no-audit',
'openclaw_e2e_maybe_timeout "${OPENCLAW_E2E_NPM_INSTALL_TIMEOUT:-600s}" npm install --omit=dev --no-fund --no-audit',
'openclaw_e2e_maybe_timeout "${OPENCLAW_E2E_NPM_INSTALL_TIMEOUT:-600s}" npm install -g --prefix /tmp/npm-prefix --omit=optional "$pkg_tgz_path"',
"openclaw_e2e_print_log /tmp/openclaw-git-install.log",
'openclaw_e2e_print_log "$package_install_log"',
@@ -2444,12 +2444,11 @@ docker_e2e_docker_run_cmd run demo
expect(updateChannel).not.toContain("cat /tmp/openclaw-git-install.log");
expect(updateChannel).not.toContain('cat "$package_install_log"');
expect(doctorSwitch).toContain(
'openclaw_e2e_maybe_timeout "${OPENCLAW_E2E_NPM_INSTALL_TIMEOUT:-600s}" npm install --omit=optional --no-fund --no-audit',
);
expect(doctorSwitch).toContain(
expectTextToIncludeAll(doctorSwitch, [
'openclaw_e2e_maybe_timeout "${OPENCLAW_E2E_NPM_INSTALL_TIMEOUT:-600s}" npm install --omit=dev --no-fund --no-audit',
'openclaw_e2e_maybe_timeout "${OPENCLAW_E2E_NPM_INSTALL_TIMEOUT:-600s}" npm install -g --prefix /tmp/npm-prefix --omit=optional "$package_tgz"',
);
"openclaw_e2e_print_log /tmp/openclaw-git-install.log",
]);
for (const script of [releaseUpgrade, upgradeSurvivor, pluginCorrupt]) {
expect(script).toContain(
'openclaw_e2e_maybe_timeout "${OPENCLAW_E2E_NPM_INSTALL_TIMEOUT:-600s}" npm install -g',