fix: don't include breakpad_symbols dir in dsym.zip (#22191)

This commit is contained in:
John Kleinschmidt 2020-02-16 19:45:41 -05:00 committed by GitHub
parent e6a8906052
commit 7a7754a3dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -120,8 +120,8 @@ def extract_zip(zip_path, destination):
def make_zip(zip_file_path, files, dirs):
safe_unlink(zip_file_path)
if sys.platform == 'darwin':
files += dirs
execute(['zip', '-r', '-y', zip_file_path] + files)
allfiles = files + dirs
execute(['zip', '-r', '-y', zip_file_path] + allfiles)
else:
zip_file = zipfile.ZipFile(zip_file_path, "w", zipfile.ZIP_DEFLATED,
allowZip64=True)