Skip to content

Commit

Permalink
feat(tools/internal_generate_release_zips): ensure compression (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaosat-dev committed Mar 4, 2024
1 parent 09915f5 commit 3b7b5f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/internal_generate_release_zips.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ def zipdir(path, ziph):
os.path.relpath(os.path.join(root, file),
os.path.join(path, '..')))

with zipfile.ZipFile("bevy_components.zip", mode="w") as archive:
with zipfile.ZipFile("bevy_components.zip", mode="w", compression=zipfile.ZIP_DEFLATED) as archive:
zipdir('./bevy_components', archive)

with zipfile.ZipFile("gltf_auto_export.zip", mode="w") as archive:
with zipfile.ZipFile("gltf_auto_export.zip", mode="w", compression=zipfile.ZIP_DEFLATED) as archive:
zipdir('./gltf_auto_export', archive)

0 comments on commit 3b7b5f2

Please sign in to comment.