From: Cheng Zhao Date: Fri, 3 Jul 2015 06:30:59 +0000 (+0800) Subject: Don't check build version in CI X-Git-Tag: v0.29.0~1^2~10 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=20e9abe26a0992df38180b786aa60dd4888c8dba;p=electron.git Don't check build version in CI --- diff --git a/script/upload.py b/script/upload.py index 12c31c70..b4fc96ec 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',