Check the build version of Release build in upload script.

This commit is contained in:
Cheng Zhao 2013-10-10 14:39:54 +08:00
parent 6ff644fe60
commit 7f0e7f3835

View file

@ -68,10 +68,10 @@ def parse_args():
def get_atom_shell_build_version(): def get_atom_shell_build_version():
if sys.platform == 'darwin': 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') 'Contents', 'MacOS', 'Atom')
else: 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() return subprocess.check_output([atom_shell, '--version']).strip()