ci(release): recover Windows packaged update no-restart timeout

This commit is contained in:
Peter Steinberger
2026-05-04 21:34:15 +01:00
parent 982d123b80
commit 021373a454
2 changed files with 2 additions and 2 deletions

View File

@@ -1397,7 +1397,7 @@ export function isRecoverableWindowsPackagedUpgradeTimeoutError(
const message = error instanceof Error ? error.message : String(error);
return (
/\bCommand timed out:/u.test(message) &&
/[/\\]openclaw\.mjs update --tag http:\/\/127\.0\.0\.1:\d+\/openclaw[^/\s]*\.tgz --yes --json --timeout \d+/u.test(
/[/\\]openclaw\.mjs update --tag http:\/\/127\.0\.0\.1:\d+\/openclaw[^/\s]*\.tgz --yes --json(?: --no-restart)? --timeout \d+/u.test(
message,
)
);