Check the build version of Release build in upload script.
This commit is contained in:
parent
6ff644fe60
commit
7f0e7f3835
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue