iOS beta
This commit is contained in:
parent
fe9ad640f9
commit
17f11f8c11
|
@ -80,7 +80,6 @@ restore_cache: &restore-gradle-cache
|
||||||
|
|
||||||
# COMMANDS
|
# COMMANDS
|
||||||
commands:
|
commands:
|
||||||
|
|
||||||
manage-pods:
|
manage-pods:
|
||||||
description: "Restore/Get/Save cache of pods libs"
|
description: "Restore/Get/Save cache of pods libs"
|
||||||
steps:
|
steps:
|
||||||
|
@ -99,26 +98,11 @@ commands:
|
||||||
- ~/.pods
|
- ~/.pods
|
||||||
- ios/Pods
|
- ios/Pods
|
||||||
|
|
||||||
# EXPERIMENTAL ONLY
|
|
||||||
# No plans to do it for Official
|
|
||||||
# upload-to-google-play-production:
|
|
||||||
# description: "Upload to Google Play production"
|
|
||||||
# steps:
|
|
||||||
# - checkout
|
|
||||||
# - attach_workspace:
|
|
||||||
# at: android
|
|
||||||
# - run:
|
|
||||||
# name: Store the google service account key
|
|
||||||
# command: echo "$FASTLANE_GOOGLE_SERVICE_ACCOUNT" | base64 --decode > service_account.json
|
|
||||||
# working_directory: android
|
|
||||||
# - run: *update-fastlane-android
|
|
||||||
# - run:
|
|
||||||
# name: Fastlane Play Store Upload
|
|
||||||
# command: bundle exec fastlane android production
|
|
||||||
# working_directory: android
|
|
||||||
|
|
||||||
upload-to-testflight:
|
upload-to-testflight:
|
||||||
description: "Upload to TestFlight"
|
description: "Upload to TestFlight"
|
||||||
|
parameters:
|
||||||
|
distribute_external:
|
||||||
|
type: boolean
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
|
@ -131,9 +115,10 @@ commands:
|
||||||
name: Fastlane Tesflight Upload
|
name: Fastlane Tesflight Upload
|
||||||
command: |
|
command: |
|
||||||
echo $APP_STORE_CONNECT_API_KEY_BASE64 | base64 --decode > ./fastlane/app_store_connect_api_key.p8
|
echo $APP_STORE_CONNECT_API_KEY_BASE64 | base64 --decode > ./fastlane/app_store_connect_api_key.p8
|
||||||
bundle exec fastlane ios beta
|
bundle exec fastlane ios beta distribute_external:<< parameters.distribute_external >>
|
||||||
working_directory: ios
|
working_directory: ios
|
||||||
- save_cache: *save-gems-cache
|
- save_cache: *save-gems-cache
|
||||||
|
|
||||||
create-e2e-account-file:
|
create-e2e-account-file:
|
||||||
description: "Create e2e account file"
|
description: "Create e2e account file"
|
||||||
steps:
|
steps:
|
||||||
|
@ -419,7 +404,14 @@ jobs:
|
||||||
ios-testflight:
|
ios-testflight:
|
||||||
executor: mac-env
|
executor: mac-env
|
||||||
steps:
|
steps:
|
||||||
- upload-to-testflight
|
- upload-to-testflight:
|
||||||
|
distribute_external: false
|
||||||
|
|
||||||
|
ios-beta:
|
||||||
|
executor: mac-env
|
||||||
|
steps:
|
||||||
|
- upload-to-testflight:
|
||||||
|
distribute_external: true
|
||||||
|
|
||||||
e2e-build-ios:
|
e2e-build-ios:
|
||||||
executor: mac-env
|
executor: mac-env
|
||||||
|
@ -516,6 +508,13 @@ workflows:
|
||||||
- ios-testflight:
|
- ios-testflight:
|
||||||
requires:
|
requires:
|
||||||
- ios-build
|
- ios-build
|
||||||
|
- ios-hold-beta:
|
||||||
|
type: approval
|
||||||
|
requires:
|
||||||
|
- ios-build
|
||||||
|
- ios-beta:
|
||||||
|
requires:
|
||||||
|
- ios-hold-beta
|
||||||
|
|
||||||
# Android
|
# Android
|
||||||
- android-build:
|
- android-build:
|
||||||
|
@ -543,9 +542,18 @@ workflows:
|
||||||
- lint-testunit
|
- lint-testunit
|
||||||
- android-beta:
|
- android-beta:
|
||||||
name: android-beta-develop
|
name: android-beta-develop
|
||||||
|
requires:
|
||||||
|
- android-build-develop
|
||||||
|
|
||||||
|
- ios-build:
|
||||||
|
name: ios-build-develop
|
||||||
filters:
|
filters:
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
- develop
|
- develop
|
||||||
requires:
|
requires:
|
||||||
- android-build-develop
|
- lint-testunit
|
||||||
|
- ios-beta:
|
||||||
|
name: ios-beta-develop
|
||||||
|
requires:
|
||||||
|
- ios-build-develop
|
||||||
|
|
|
@ -35,7 +35,9 @@ platform :ios do
|
||||||
)
|
)
|
||||||
pilot(
|
pilot(
|
||||||
ipa: 'ios/Rocket.Chat.ipa',
|
ipa: 'ios/Rocket.Chat.ipa',
|
||||||
skip_waiting_for_build_processing: true
|
skip_waiting_for_build_processing: options[:distribute_external] ? false : true,
|
||||||
|
distribute_external: options[:distribute_external] ? true : false,
|
||||||
|
groups: options[:distribute_external] ? ["External Testers", "App Store Connect Users"] : ["App Store Connect Users"]
|
||||||
)
|
)
|
||||||
upload_symbols_to_crashlytics(dsym_path: "./ios/Rocket.Chat.app.dSYM.zip")
|
upload_symbols_to_crashlytics(dsym_path: "./ios/Rocket.Chat.app.dSYM.zip")
|
||||||
upload_symbols_to_bugsnag(
|
upload_symbols_to_bugsnag(
|
||||||
|
@ -64,11 +66,6 @@ platform :ios do
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
desc "Build fork app"
|
|
||||||
lane :build_fork do
|
|
||||||
gym(scheme: "RocketChatRN", workspace: "RocketChatRN.xcworkspace", skip_codesigning: true, skip_archive: true)
|
|
||||||
end
|
|
||||||
|
|
||||||
after_all do |lane|
|
after_all do |lane|
|
||||||
delete_keychain(name: ENV["MATCH_KEYCHAIN_NAME"])
|
delete_keychain(name: ENV["MATCH_KEYCHAIN_NAME"])
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue