From 94ab1c790fc944fe05b14c1d04914064f967a53a Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Tue, 22 Aug 2017 10:08:27 +0900 Subject: [PATCH] Verify arm64 builds in prerelease --- script/prerelease.js | 3 +++ script/upload.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/script/prerelease.js b/script/prerelease.js index 78b63933009c..20f2a108fc35 100755 --- a/script/prerelease.js +++ b/script/prerelease.js @@ -67,6 +67,8 @@ function assetsForVersion (version) { 'electron-{{VERSION}}-darwin-x64.zip', 'electron-{{VERSION}}-linux-arm-symbols.zip', 'electron-{{VERSION}}-linux-arm.zip', + 'electron-{{VERSION}}-linux-arm64-symbols.zip', + 'electron-{{VERSION}}-linux-arm64.zip', 'electron-{{VERSION}}-linux-armv7l-symbols.zip', 'electron-{{VERSION}}-linux-armv7l.zip', 'electron-{{VERSION}}-linux-ia32-symbols.zip', @@ -86,6 +88,7 @@ function assetsForVersion (version) { 'electron.d.ts', 'ffmpeg-{{VERSION}}-darwin-x64.zip', 'ffmpeg-{{VERSION}}-linux-arm.zip', + 'ffmpeg-{{VERSION}}-linux-arm64.zip', 'ffmpeg-{{VERSION}}-linux-armv7l.zip', 'ffmpeg-{{VERSION}}-linux-ia32.zip', 'ffmpeg-{{VERSION}}-linux-x64.zip', diff --git a/script/upload.py b/script/upload.py index 455ed789e0a0..04d86d060519 100755 --- a/script/upload.py +++ b/script/upload.py @@ -124,7 +124,7 @@ def run_python_script(script, *args): def get_electron_build_version(): - if get_target_arch() == 'arm' or os.environ.has_key('CI'): + if get_target_arch().startswith('arm') or os.environ.has_key('CI'): # In CI we just build as told. return ELECTRON_VERSION if PLATFORM == 'darwin':