ci: Add script to repackage macOS SDKs

This commit is contained in:
Brad King
2025-10-25 20:10:43 -04:00
parent 9d2aa76bb7
commit b33a5366f4

8
.gitlab/ci/repackage/macos.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/usr/bin/env bash
set -e
sdkPath="$(xcrun --show-sdk-path)"
sdkVers="$(xcrun --show-sdk-version)"
tar cjf "MacOSX${sdkVers}.sdk.tar.bz2" -C "${sdkPath%/*}" --no-fflags "MacOSX.sdk"