From: Cheng Zhao Date: Thu, 10 Oct 2013 06:39:54 +0000 (+0800) Subject: Check the build version of Release build in upload script. X-Git-Tag: v0.6.0 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=7f0e7f38356825801a7be6d415d79f873d736728;p=electron.git Check the build version of Release build in upload script. --- diff --git a/script/upload.py b/script/upload.py index 1e8168e9..69227c1c 100755 --- a/script/upload.py +++ b/script/upload.py @@ -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()