From 7f0e7f38356825801a7be6d415d79f873d736728 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Thu, 10 Oct 2013 14:39:54 +0800 Subject: [PATCH] Check the build version of Release build in upload script. --- script/upload.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/upload.py b/script/upload.py index 1e8168e..69227c1 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() -- 2.7.4