Files
VirtualBuddy/ci_scripts/ci_pre_xcodebuild.sh
Guilherme Rambo 71c570e31a Implement custom virtual machine restore mechanism (#688)
* Move ECID getter into VZMacMachineIdentifier

* Implement a custom macOS restore backend to work around macOS 27 issues on macOS 26 hosts

* Add virtual installation requirement set and enforce during VM restore

* Change requirement for macOS 27 Virtual Installation to min host macOS 26

* Add CI script that sets CURRENT_PROJECT_VERSION to the Xcode Cloud build number
2026-06-12 10:02:57 -03:00

10 lines
352 B
Bash
Executable File

#!/usr/bin/env zsh
set -e
CONFIG_FILE_PATH="${CI_PRIMARY_REPOSITORY_PATH}/VirtualBuddy/Config/CIProjectVersion.xcconfig"
if [ -n "${CI_BUILD_NUMBER}" ]; then
echo "Writing CURRENT_PROJECT_VERSION with Xcode Cloud build: ${CI_BUILD_NUMBER} in ${CONFIG_FILE_PATH}"
echo "CURRENT_PROJECT_VERSION = ${CI_BUILD_NUMBER}" > "${CONFIG_FILE_PATH}"
fi