]> khamidou — GitHub mirrors - electron.git/commitdiff
Don't check build version in CI
authorCheng Zhao <zcbenz@gmail.com>
Fri, 3 Jul 2015 06:30:59 +0000 (14:30 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 3 Jul 2015 06:30:59 +0000 (14:30 +0800)
script/upload.py

index 12c31c703c6f6d3e7489c6fc0a8fec08f274fba4..b4fc96ec4c9bd63bf76aa08a2ef0c95ef2a0e64c 100755 (executable)
@@ -108,6 +108,9 @@ def parse_args():
 
 
 def get_atom_shell_build_version():
+  if os.environ.has_key('CI'):
+    # In CI we just build as told.
+    return ATOM_SHELL_VERSION
   if PLATFORM == 'darwin':
     atom_shell = os.path.join(SOURCE_ROOT, 'out', 'R',
                               '{0}.app'.format(PRODUCT_NAME), 'Contents',