From 868fdc14c3f6fb778ac1a4e786ec46d1bff660eb Mon Sep 17 00:00:00 2001 From: Mingshen Sun Date: Thu, 31 Dec 2020 23:31:01 -0800 Subject: [PATCH] Ignore create keychain when not in CI --- fastlane/Fastfile | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 137bb7c..1f35757 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -72,15 +72,15 @@ platform :ios do lane :beta do app_identifier = "me.mssun.passforiosbeta" - create_keychain( - name: ENV["MATCH_KEYCHAIN_NAME"], - password: ENV["MATCH_KEYCHAIN_PASSWORD"], - default_keychain: false, - unlock: true, - timeout: 3600, - add_to_search_list: true - ) if is_ci? + create_keychain( + name: ENV["MATCH_KEYCHAIN_NAME"], + password: ENV["MATCH_KEYCHAIN_PASSWORD"], + default_keychain: false, + unlock: true, + timeout: 3600, + add_to_search_list: true + ) match_appstore_beta end increment_build_number( @@ -119,15 +119,15 @@ platform :ios do lane :release do app_identifier = "me.mssun.passforios" - create_keychain( - name: ENV["MATCH_KEYCHAIN_NAME"], - password: ENV["MATCH_KEYCHAIN_PASSWORD"], - default_keychain: false, - unlock: true, - timeout: 3600, - add_to_search_list: true - ) if is_ci? + create_keychain( + name: ENV["MATCH_KEYCHAIN_NAME"], + password: ENV["MATCH_KEYCHAIN_PASSWORD"], + default_keychain: false, + unlock: true, + timeout: 3600, + add_to_search_list: true + ) match_appstore end increment_build_number(