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-08-07 14:52:54 +01:00
|
|
|
# Upload dsyms no matter the workflow
|
|
|
|
# Perform this step before releasing to github in case it fails.
|
|
|
|
bundle exec fastlane upload_dsyms_to_sentry dsym_path:"$CI_ARCHIVE_PATH/dSYMs"
|
|
|
|
|
2024-01-25 12:34:56 +02:00
|
|
|
generate_what_to_test_notes
|
|
|
|
|
2022-10-24 16:00:17 +03:00
|
|
|
if [ "$CI_WORKFLOW" = "Release" ]; then
|
|
|
|
bundle exec fastlane release_to_github
|
2022-10-26 18:06:02 +03:00
|
|
|
bundle exec fastlane prepare_next_release
|
2023-05-11 13:34:37 +03:00
|
|
|
elif [ "$CI_WORKFLOW" = "Nightly" ]; then
|
|
|
|
bundle exec fastlane tag_nightly build_number:"$CI_BUILD_NUMBER"
|
2022-10-24 16:00:17 +03:00
|
|
|
fi
|