mirror of
https://github.com/kaosat-dev/Blender_bevy_components_workflow.git
synced 2024-11-21 19:44:18 +00:00
feat(tools/internal_generate_release_zips): ensure compression (#161)
This commit is contained in:
parent
09915f521d
commit
3b7b5f28bd
@ -21,8 +21,8 @@ def zipdir(path, ziph):
|
|||||||
os.path.relpath(os.path.join(root, file),
|
os.path.relpath(os.path.join(root, file),
|
||||||
os.path.join(path, '..')))
|
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)
|
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)
|
zipdir('./gltf_auto_export', archive)
|
Loading…
Reference in New Issue
Block a user