Browse Source

Do not upload symbols for mips64el

Cheng Zhao 7 years ago
parent
commit
e4064d8dc2
1 changed files with 3 additions and 2 deletions
  1. 3 2
      script/upload.py

+ 3 - 2
script/upload.py

@@ -66,8 +66,9 @@ def main():
   # Upload Electron with GitHub Releases API.
   upload_electron(github, release, os.path.join(DIST_DIR, DIST_NAME),
                   args.upload_to_s3)
-  upload_electron(github, release, os.path.join(DIST_DIR, SYMBOLS_NAME),
-                  args.upload_to_s3)
+  if get_target_arch() != 'mips64el':
+    upload_electron(github, release, os.path.join(DIST_DIR, SYMBOLS_NAME),
+                    args.upload_to_s3)
   if PLATFORM == 'darwin':
     upload_electron(github, release, os.path.join(DIST_DIR,
                     'electron-api.json'), args.upload_to_s3)