From 20e9abe26a0992df38180b786aa60dd4888c8dba Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Fri, 3 Jul 2015 14:30:59 +0800 Subject: [PATCH] Don't check build version in CI --- script/upload.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/script/upload.py b/script/upload.py index 12c31c703c6f..b4fc96ec4c9b 100755 --- a/script/upload.py +++ b/script/upload.py @@ -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',