From 64c0e0dfdcd020b875f2cd3d61673a7ae2675729 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Fri, 3 Jul 2015 16:31:33 +0800 Subject: [PATCH] Only creates Release build when ELECTRON_RELEASE is set --- script/cibuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/cibuild b/script/cibuild index 9c875581ac33..7236d9f7bbce 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']