diff --git a/publish.py b/publish.py index 3b4f9dec9..b59e413a2 100755 --- a/publish.py +++ b/publish.py @@ -68,7 +68,9 @@ def run_build(args: Any) -> None: if not needs_retry: raise print('Build failed, retrying in a few seconds...', file=sys.stderr) - time.sleep(15) + if 'macos' in cmd: + call('python ../bypy macos shutdown') + time.sleep(25) call(cmd, echo=True) for x in ('64', '32', 'arm64'):