build: upload x-compiled arm mksnapshot only on linux (#24680)

* build: upload x-compiled arm mksnapshot only on linux

* Update upload.py
This commit is contained in:
Samuel Attard 2020-07-22 01:45:18 -07:00 committed by GitHub
parent 2fb14f53fe
commit 5795e59352
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)