From 0a9ba1bc08a52cf6a3211b6257348d08a650e2e8 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 23 Dec 2021 08:11:16 +0530 Subject: [PATCH] ... --- publish.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/publish.py b/publish.py index 23a24696c..c77f95104 100755 --- a/publish.py +++ b/publish.py @@ -61,11 +61,11 @@ def run_build(args: Any) -> None: for x in ('64', '32', 'arm64'): try: call(f'python ../bypy linux --arch {x} program', echo=True) - except Exception: + except (SystemExit, Exception): if x != 'arm64': raise print('Linux ARM build failed, retrying in a few seconds...', file=sys.stderr) - time.sleep(5) + time.sleep(15) call(f'python ../bypy linux --arch {x} program', echo=True) call(f'python ../bypy linux --arch {x} shutdown', echo=True) call('python ../bypy macos program --sign-installers --notarize', echo=True)