]> khamidou — GitHub mirrors - electron.git/commitdiff
Don't check build version for arm target
authorCheng Zhao <zcbenz@gmail.com>
Fri, 3 Jul 2015 09:01:16 +0000 (09:01 +0000)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 3 Jul 2015 09:01:16 +0000 (09:01 +0000)
script/upload.py

index 3b622aa43d7d5605736440ba345fdd19342c41db..a188806b1a48fc1ff93d20a04271acbb0a0e7f4e 100755 (executable)
@@ -106,7 +106,7 @@ def parse_args():
 
 
 def get_atom_shell_build_version():
-  if os.environ.has_key('CI'):
+  if get_target_arch() == 'arm' or os.environ.has_key('CI'):
     # In CI we just build as told.
     return ATOM_SHELL_VERSION
   if PLATFORM == 'darwin':