]> khamidou — GitHub mirrors - electron.git/commitdiff
Check the build version of Release build in upload script. v0.6.0
authorCheng Zhao <zcbenz@gmail.com>
Thu, 10 Oct 2013 06:39:54 +0000 (14:39 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Thu, 10 Oct 2013 06:39:54 +0000 (14:39 +0800)
script/upload.py

index 1e8168e9f2a273bbb1cc7ae71391d598fda505cc..69227c1cc3afd47cecf90acb1bf622db45f5afb1 100755 (executable)
@@ -68,10 +68,10 @@ def parse_args():
 
 def get_atom_shell_build_version():
   if sys.platform == 'darwin':
-    atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Debug', 'Atom.app',
+    atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Release', 'Atom.app',
                               'Contents', 'MacOS', 'Atom')
   else:
-    atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Debug', 'atom.exe')
+    atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Release', 'atom.exe')
 
   return subprocess.check_output([atom_shell, '--version']).strip()