Beam/ci_scripts/ci_post_clone.sh

17 lines
411 B
Bash
Executable File

#!/bin/sh
source ci_common.sh
setup_xcode_cloud_environment
install_xcode_cloud_brew_dependencies
if [ "$CI_WORKFLOW" = "Nightly" ]; then
bundle exec fastlane config_nightly build_number:"$CI_BUILD_NUMBER"
elif [ "$CI_WORKFLOW" = "Element Pro" ]; then
# Xcode Cloud automatically fetches the submodules.
bundle exec fastlane config_element_pro
else
bundle exec fastlane config_production
fi