* Upload dSYMs to sentry using swift and the sentry-cli instead of fastlane. * Replace the fastlane `config_production` lane with a swift tools `ConfigureProduction` command. * Replace Zsh with CI.run in the new ConfigureNightly command * Replace the fastlane `tag_nightly` lane with a swift tools `TagNightly` command. * Print out all the commands going through CI.Run and their arguments * Address PR comments
17 lines
414 B
Bash
Executable File
17 lines
414 B
Bash
Executable File
#!/bin/sh
|
|
|
|
source ci_common.sh
|
|
|
|
setup_xcode_cloud_environment
|
|
|
|
install_xcode_cloud_brew_dependencies
|
|
|
|
if [ "$CI_WORKFLOW" = "Nightly" ]; then
|
|
swift run tools ci configure-nightly --build-number $CI_BUILD_NUMBER
|
|
elif [ "$CI_WORKFLOW" = "Element Pro" ]; then
|
|
# Xcode Cloud automatically fetches the submodules.
|
|
swift run pipeline configure-element-pro
|
|
else
|
|
swift run pipeline configure-production
|
|
fi
|