From 5795e59352649b79299a6eedbebb42ed05036c67 Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Wed, 22 Jul 2020 01:45:18 -0700 Subject: [PATCH] build: upload x-compiled arm mksnapshot only on linux (#24680) * build: upload x-compiled arm mksnapshot only on linux * Update upload.py --- script/release/uploaders/upload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/release/uploaders/upload.py b/script/release/uploaders/upload.py index abf2d3d8ef1e..e597ef0c8b38 100755 --- a/script/release/uploaders/upload.py +++ b/script/release/uploaders/upload.py @@ -107,7 +107,7 @@ def main(): mksnapshot = get_zip_name('mksnapshot', ELECTRON_VERSION) mksnapshot_zip = os.path.join(OUT_DIR, mksnapshot) - if get_target_arch().startswith('arm'): + if get_target_arch().startswith('arm') and PLATFORM != 'darwin': # Upload the x64 binary for arm/arm64 mksnapshot mksnapshot = get_zip_name('mksnapshot', ELECTRON_VERSION, 'x64') mksnapshot_zip = os.path.join(OUT_DIR, mksnapshot)