2022-10-24 16:00:17 +03:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
source ci_common.sh
|
|
|
|
|
2023-02-13 14:53:01 +02:00
|
|
|
setup_xcode_cloud_environment
|
2022-10-24 16:00:17 +03:00
|
|
|
|
2023-02-13 14:53:01 +02:00
|
|
|
install_xcode_cloud_brew_dependencies
|
2022-10-24 16:00:17 +03:00
|
|
|
|
2023-02-13 14:53:01 +02:00
|
|
|
if [ "$CI_WORKFLOW" = "Nightly" ]; then
|
2023-11-27 10:43:02 +02:00
|
|
|
bundle exec fastlane config_nightly build_number:"$CI_BUILD_NUMBER"
|
2024-06-27 18:18:17 +01:00
|
|
|
elif [ "$CI_WORKFLOW" = "Enterprise" ]; then
|
2024-07-01 12:34:47 +01:00
|
|
|
# Xcode Cloud automatically fetches the submodule.
|
2024-06-27 18:18:17 +01:00
|
|
|
bundle exec fastlane config_enterprise
|
2023-07-14 10:19:38 +02:00
|
|
|
else
|
|
|
|
bundle exec fastlane config_production
|
|
|
|
fi
|