build: upload dsym files for all mac releases (#26427)

Co-authored-by: John Kleinschmidt <jkleinsc@github.com>
This commit is contained in:
trop[bot]
2020-11-11 14:25:27 -05:00
committed by GitHub
parent 24fbb73838
commit 7446006c24

View File

@@ -77,8 +77,8 @@ def main():
symbols_zip = os.path.join(OUT_DIR, SYMBOLS_NAME)
shutil.copy2(os.path.join(OUT_DIR, 'symbols.zip'), symbols_zip)
upload_electron(release, symbols_zip, args)
if get_platform_key() == 'darwin':
if get_target_arch() == 'x64':
if PLATFORM == 'darwin':
if get_platform_key() == 'darwin' and get_target_arch() == 'x64':
api_path = os.path.join(ELECTRON_DIR, 'electron-api.json')
upload_electron(release, api_path, args)