This commit is contained in:
Diego Mello 2023-06-20 16:00:17 -03:00
parent 380bd52029
commit dba4a4ba1a
2 changed files with 3 additions and 20 deletions

View File

@ -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

View File

@ -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