chore: modify uploaded assets for win-ia32 (#33699)

* chore: filter correct symbol files

* chore: upload correct assets
This commit is contained in:
Keeley Hammond 2022-04-11 11:02:01 -07:00 committed by GitHub
parent 9d6e6c45c1
commit 41c1a7e318
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 5 deletions

View file

@ -76,7 +76,7 @@ def main():
shutil.copy2(os.path.join(OUT_DIR, 'dist.zip'), electron_zip)
upload_electron(release, electron_zip, args)
if get_target_arch() != 'mips64el':
if get_target_arch() != 'ia32' and PLATFORM != 'win32':
if (get_target_arch() != 'ia32' or PLATFORM != 'win32'):
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)