From dba4a4ba1a8f0be0b0d60b0a4d5fff278dee329f Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Tue, 20 Jun 2023 16:00:17 -0300 Subject: [PATCH] Cleanup --- .circleci/config.yml | 20 ++------------------ ios/fastlane/Fastfile | 3 +-- 2 files changed, 3 insertions(+), 20 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 985529e17..7117e73fb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -293,9 +293,6 @@ commands: upload-to-testflight: description: "Upload to TestFlight" - parameters: - official: - type: boolean steps: - checkout - attach_workspace: @@ -308,7 +305,7 @@ commands: name: Fastlane Tesflight Upload command: | echo $APP_STORE_CONNECT_API_KEY_BASE64 | base64 --decode > ./fastlane/app_store_connect_api_key.p8 - bundle exec fastlane ios beta official:<< parameters.official >> + bundle exec fastlane ios beta working_directory: ios - save_cache: *save-gems-cache @@ -518,28 +515,15 @@ jobs: - store_artifacts: path: ~/junit - # iOS builds - ios-build-experimental: - executor: mac-env - steps: - - ios-build - ios-build-official: executor: mac-env steps: - ios-build - ios-testflight-experimental: - executor: mac-env - steps: - - upload-to-testflight: - official: false - ios-testflight-official: executor: mac-env steps: - - upload-to-testflight: - official: true + - upload-to-testflight e2e-build-ios: executor: mac-env diff --git a/ios/fastlane/Fastfile b/ios/fastlane/Fastfile index 552e4eb3a..9c982e6bd 100644 --- a/ios/fastlane/Fastfile +++ b/ios/fastlane/Fastfile @@ -35,14 +35,13 @@ platform :ios do ) pilot( ipa: 'ios/Rocket.Chat.ipa', - app_identifier: options[:official] ? 'chat.rocket.ios' : 'chat.rocket.reactnative', skip_waiting_for_build_processing: true ) upload_symbols_to_crashlytics(dsym_path: "./ios/Rocket.Chat.app.dSYM.zip") upload_symbols_to_bugsnag( config_file: "./RocketChatRN/Info.plist", dsym_path: "./ios/Rocket.Chat.app.dSYM.zip", - api_key: options[:official] ? ENV["BUGSNAG_KEY_OFFICIAL"] : ENV["BUGSNAG_KEY"] + api_key: ENV["BUGSNAG_KEY_OFFICIAL"] ) end