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:
parent
2fb14f53fe
commit
5795e59352
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ def main():
|
||||||
|
|
||||||
mksnapshot = get_zip_name('mksnapshot', ELECTRON_VERSION)
|
mksnapshot = get_zip_name('mksnapshot', ELECTRON_VERSION)
|
||||||
mksnapshot_zip = os.path.join(OUT_DIR, mksnapshot)
|
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
|
# Upload the x64 binary for arm/arm64 mksnapshot
|
||||||
mksnapshot = get_zip_name('mksnapshot', ELECTRON_VERSION, 'x64')
|
mksnapshot = get_zip_name('mksnapshot', ELECTRON_VERSION, 'x64')
|
||||||
mksnapshot_zip = os.path.join(OUT_DIR, mksnapshot)
|
mksnapshot_zip = os.path.join(OUT_DIR, mksnapshot)
|
||||||
|
|
Loading…
Reference in a new issue