From: Cheng Zhao Date: Fri, 3 Jul 2015 08:31:33 +0000 (+0800) Subject: Only creates Release build when ELECTRON_RELEASE is set X-Git-Tag: v0.29.0~1^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=64c0e0dfdcd020b875f2cd3d61673a7ae2675729;p=electron.git Only creates Release build when ELECTRON_RELEASE is set --- diff --git a/script/cibuild b/script/cibuild index 9c875581..7236d9f7 100755 --- a/script/cibuild +++ b/script/cibuild @@ -54,7 +54,7 @@ def main(): npm = 'npm.cmd' if PLATFORM == 'win32' else 'npm' execute([npm, 'install', 'npm@2.12.1']) - is_release = not is_travis + is_release = os.environ.has_key('ELECTRON_RELEASE') args = ['--target_arch=' + target_arch] if not is_release: args += ['--dev']