Distribute MacOS build as a zip archive

This commit is contained in:
OpenSauce04 2024-09-03 17:12:24 +01:00 committed by OpenSauce
parent d78daa8988
commit 5bd98f2168

View File

@ -38,7 +38,7 @@ function pack_artifacts() {
if [ "$OS" = "windows" ]; then if [ "$OS" = "windows" ]; then
ARCHIVE_FULL_NAME="$ARCHIVE_NAME.zip" ARCHIVE_FULL_NAME="$ARCHIVE_NAME.zip"
powershell Compress-Archive "$REV_NAME" "$ARCHIVE_FULL_NAME" powershell Compress-Archive "$REV_NAME" "$ARCHIVE_FULL_NAME"
elif [ "$OS" = "android" ]; then elif [ "$OS" = "android" ] || [ "$OS" = "macos" ]; then
ARCHIVE_FULL_NAME="$ARCHIVE_NAME.zip" ARCHIVE_FULL_NAME="$ARCHIVE_NAME.zip"
zip -r "$ARCHIVE_FULL_NAME" "$REV_NAME" zip -r "$ARCHIVE_FULL_NAME" "$REV_NAME"
else else