File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -540,6 +540,8 @@ platform :ios do
540540 #####################################################################################
541541 desc 'Builds and uploads an installable build'
542542 lane :build_and_upload_installable_build do |options |
543+ ensure_sentry_installed
544+
543545 alpha_code_signing
544546
545547 # Get the current build version, and update it if needed
@@ -620,6 +622,8 @@ platform :ios do
620622 ios_build_prechecks ( skip_confirm : options [ :skip_confirm ] , internal : true ) unless options [ :skip_prechecks ]
621623 ios_build_preflight unless options [ :skip_prechecks ]
622624
625+ ensure_sentry_installed
626+
623627 internal_code_signing
624628
625629 gym (
@@ -671,6 +675,7 @@ platform :ios do
671675 ios_build_prechecks ( skip_confirm : options [ :skip_confirm ] , external : true ) unless options [ :skip_prechecks ]
672676 ios_build_preflight unless options [ :skip_prechecks ]
673677
678+ ensure_sentry_installed
674679 appstore_code_signing
675680
676681 gym (
@@ -932,6 +937,10 @@ def read_version_from_config
932937 end
933938end
934939
940+ def ensure_sentry_installed
941+ UI . user_error ( 'sentry-cli not installed' ) unless sh ( 'command -v sentry-cli' )
942+ end
943+
935944# Application-agnostic settings for the `upload_to_app_store` action, also
936945# known as `deliver`.
937946UPLOAD_TO_APP_STORE_COMMON_PARAMS = {
You can’t perform that action at this time.
0 commit comments