]> khamidou — GitHub mirrors - electron.git/commitdiff
Only creates Release build when ELECTRON_RELEASE is set
authorCheng Zhao <zcbenz@gmail.com>
Fri, 3 Jul 2015 08:31:33 +0000 (16:31 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 3 Jul 2015 08:31:33 +0000 (16:31 +0800)
script/cibuild

index 9c875581ac339091362b257847ef2f0a34932289..7236d9f7bbce791a7cd137482a77127ac387c504 100755 (executable)
@@ -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']