Use zip for the osx release.

This commit is contained in:
Relintai 2023-06-25 12:25:04 +02:00
parent f22a71f149
commit 356637f3d9

View File

@ -225,10 +225,11 @@ def generate_release(target, source, env):
# Zip format doesn't support symlinks that are needed for Linux&macOS
if env["platform"].startswith("windows"):
if env["platform"].startswith("windows") or env["platform"].startswith("osx"):
release_target = "build/pandemonium-python-${release_suffix}-${platform}.zip"
else:
release_target = "build/pandemonium-python-${release_suffix}-${platform}.tar.bz2"
release = env.Command(release_target, env["DIST_ROOT"], generate_release)
env.Alias("release", release)
env.AlwaysBuild("release")