Upload to sentry before releasing/tagging. (#1457)
This is to prevent tags being created for CI runs that have failed.
This commit is contained in:
@@ -4,6 +4,10 @@ source ci_common.sh
|
||||
|
||||
setup_xcode_cloud_environment
|
||||
|
||||
# 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"
|
||||
|
||||
if [ "$CI_WORKFLOW" = "Release" ]; then
|
||||
install_xcode_cloud_python_dependencies
|
||||
|
||||
@@ -12,6 +16,3 @@ if [ "$CI_WORKFLOW" = "Release" ]; then
|
||||
elif [ "$CI_WORKFLOW" = "Nightly" ]; then
|
||||
bundle exec fastlane tag_nightly build_number:"$CI_BUILD_NUMBER"
|
||||
fi
|
||||
|
||||
# Upload dsyms no matter the workflow
|
||||
bundle exec fastlane upload_dsyms_to_sentry dsym_path:"$CI_ARCHIVE_PATH/dSYMs"
|
||||
Reference in New Issue
Block a user