Verify arm64 builds in prerelease

This commit is contained in:
Cheng Zhao 2017-08-22 10:08:27 +09:00
parent de67e42fc9
commit 94ab1c790f
2 changed files with 4 additions and 1 deletions

View file

@ -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',

View file

@ -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':