Only creates Release build when ELECTRON_RELEASE is set
This commit is contained in:
parent
bdbb994c72
commit
64c0e0dfdc
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ def main():
|
||||||
npm = 'npm.cmd' if PLATFORM == 'win32' else 'npm'
|
npm = 'npm.cmd' if PLATFORM == 'win32' else 'npm'
|
||||||
execute([npm, 'install', 'npm@2.12.1'])
|
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]
|
args = ['--target_arch=' + target_arch]
|
||||||
if not is_release:
|
if not is_release:
|
||||||
args += ['--dev']
|
args += ['--dev']
|
||||||
|
|
Loading…
Reference in a new issue