fix: don't include breakpad_symbols dir in dsym.zip (#22191)
This commit is contained in:
parent
e6a8906052
commit
7a7754a3dd
1 changed files with 2 additions and 2 deletions
|
@ -120,8 +120,8 @@ def extract_zip(zip_path, destination):
|
||||||
def make_zip(zip_file_path, files, dirs):
|
def make_zip(zip_file_path, files, dirs):
|
||||||
safe_unlink(zip_file_path)
|
safe_unlink(zip_file_path)
|
||||||
if sys.platform == 'darwin':
|
if sys.platform == 'darwin':
|
||||||
files += dirs
|
allfiles = files + dirs
|
||||||
execute(['zip', '-r', '-y', zip_file_path] + files)
|
execute(['zip', '-r', '-y', zip_file_path] + allfiles)
|
||||||
else:
|
else:
|
||||||
zip_file = zipfile.ZipFile(zip_file_path, "w", zipfile.ZIP_DEFLATED,
|
zip_file = zipfile.ZipFile(zip_file_path, "w", zipfile.ZIP_DEFLATED,
|
||||||
allowZip64=True)
|
allowZip64=True)
|
||||||
|
|
Loading…
Reference in a new issue