]> khamidou — GitHub mirrors - electron.git/commitdiff
Try doing release in CI
authorCheng Zhao <zcbenz@gmail.com>
Fri, 3 Jul 2015 04:08:14 +0000 (12:08 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 3 Jul 2015 04:08:14 +0000 (12:08 +0800)
script/cibuild

index a23ce30ef89f6cbaefe91d7484690967bf831e27..6e492ea33fe89e633914f24594f3f540439de736 100755 (executable)
@@ -59,7 +59,7 @@ def main():
   npm = 'npm.cmd' if PLATFORM == 'win32' else 'npm'
   execute([npm, 'install', 'npm@2.12.1'])
 
-  is_release = os.environ.has_key('ELECTRON_RELEASE')
+  is_release = not is_travis
   args = ['--target_arch=' + target_arch]
   if not is_release:
     args += ['--dev']