Don't upload arm version of chromedriver
This commit is contained in:
parent
8110f2f221
commit
f0eac9d828
2 changed files with 12 additions and 8 deletions
|
@ -80,6 +80,8 @@ def main():
|
|||
rm_rf(DIST_DIR)
|
||||
os.makedirs(DIST_DIR)
|
||||
|
||||
target_arch = get_target_arch()
|
||||
|
||||
force_build()
|
||||
create_symbols()
|
||||
copy_binaries()
|
||||
|
@ -89,11 +91,13 @@ def main():
|
|||
|
||||
if PLATFORM == 'linux':
|
||||
strip_binaries()
|
||||
copy_system_libraries()
|
||||
if target_arch != 'arm':
|
||||
copy_system_libraries()
|
||||
|
||||
create_version()
|
||||
create_dist_zip()
|
||||
create_chrome_binary_zip('chromedriver', get_chromedriver_version())
|
||||
if target_arch != 'arm':
|
||||
create_chrome_binary_zip('chromedriver', get_chromedriver_version())
|
||||
create_chrome_binary_zip('mksnapshot', ATOM_SHELL_VERSION)
|
||||
create_symbols_zip()
|
||||
|
||||
|
|
|
@ -15,7 +15,6 @@ from lib.github import GitHub
|
|||
|
||||
ATOM_SHELL_REPO = 'atom/electron'
|
||||
ATOM_SHELL_VERSION = get_atom_shell_version()
|
||||
CHROMEDRIVER_VERSION = get_chromedriver_version()
|
||||
|
||||
PROJECT_NAME = atom_gyp()['project_name%']
|
||||
PRODUCT_NAME = atom_gyp()['product_name%']
|
||||
|
@ -31,9 +30,6 @@ SYMBOLS_NAME = '{0}-{1}-{2}-{3}-symbols.zip'.format(PROJECT_NAME,
|
|||
ATOM_SHELL_VERSION,
|
||||
PLATFORM,
|
||||
get_target_arch())
|
||||
CHROMEDRIVER_NAME = 'chromedriver-{0}-{1}-{2}.zip'.format(CHROMEDRIVER_VERSION,
|
||||
PLATFORM,
|
||||
get_target_arch())
|
||||
MKSNAPSHOT_NAME = 'mksnapshot-{0}-{1}-{2}.zip'.format(ATOM_SHELL_VERSION,
|
||||
PLATFORM,
|
||||
get_target_arch())
|
||||
|
@ -79,11 +75,15 @@ def main():
|
|||
|
||||
# Upload chromedriver and mksnapshot for minor version update.
|
||||
if parse_version(args.version)[2] == '0':
|
||||
upload_atom_shell(github, release_id,
|
||||
os.path.join(DIST_DIR, CHROMEDRIVER_NAME))
|
||||
upload_atom_shell(github, release_id,
|
||||
os.path.join(DIST_DIR, MKSNAPSHOT_NAME))
|
||||
|
||||
if get_target_arch() != 'arm':
|
||||
chromedriver = 'chromedriver-{0}-{1}-{2}.zip'.format(
|
||||
get_chromedriver_version(), PLATFORM, get_target_arch())
|
||||
upload_atom_shell(github, release_id,
|
||||
os.path.join(DIST_DIR, chromedriver))
|
||||
|
||||
if PLATFORM == 'win32':
|
||||
# Upload node headers.
|
||||
execute([sys.executable,
|
||||
|
|
Loading…
Reference in a new issue