mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-10-31 08:15:24 +00:00
5915713a02
* Allow the AppIconBanner tool to be called with purely the build number. And use that for the Element Pro Nightly. * Use a build setting to determine Nightly builds.
21 lines
612 B
Bash
Executable File
21 lines
612 B
Bash
Executable File
#!/bin/sh
|
|
|
|
source ci_common.sh
|
|
|
|
# Move to the project root
|
|
cd ..
|
|
|
|
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
|
|
elif [ "$CI_WORKFLOW" = "Element Pro Nightly" ]; then
|
|
# Xcode Cloud automatically fetches the submodules.
|
|
swift run pipeline configure-element-pro-nightly --build-number $CI_BUILD_NUMBER
|
|
else
|
|
swift run tools ci configure-production
|
|
fi
|