mirror of
https://github.com/uqbar-dao/nectar.git
synced 2024-12-26 10:06:44 +03:00
build-release: compress the zip files
This commit is contained in:
parent
ded8cd62f0
commit
ca6db9d0bf
@ -41,7 +41,7 @@ def build_and_move(feature, tmp_dir, architecture, os_name):
|
||||
|
||||
# Create a zip archive of the binary
|
||||
zip_path = os.path.join(tmp_dir, zip_name)
|
||||
with zipfile.ZipFile(zip_path, 'w') as zipf:
|
||||
with zipfile.ZipFile(zip_path, 'w', zipfile.ZIP_DEFLATED) as zipf:
|
||||
zipf.write(dest_path, os.path.basename(dest_path))
|
||||
|
||||
# Remove the original binary
|
||||
|
Loading…
Reference in New Issue
Block a user