mirror of
https://github.com/Relintai/gdnative_python.git
synced 2024-11-12 10:25:08 +01:00
Use zip for the osx release.
This commit is contained in:
parent
f22a71f149
commit
356637f3d9
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user