Skip to content

Commit

Permalink
build: upload dsym files for all mac releases (#26427)
Browse files Browse the repository at this point in the history
Co-authored-by: John Kleinschmidt <jkleinsc@github.com>
  • Loading branch information
trop[bot] and John Kleinschmidt committed Nov 11, 2020
1 parent 24fbb73 commit 7446006
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/release/uploaders/upload.py
Expand Up @@ -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)

Expand Down

0 comments on commit 7446006

Please sign in to comment.