Ignore create keychain when not in CI
This commit is contained in:
parent
3462e6673f
commit
868fdc14c3
1 changed files with 16 additions and 16 deletions
|
|
@ -72,15 +72,15 @@ platform :ios do
|
||||||
lane :beta do
|
lane :beta do
|
||||||
app_identifier = "me.mssun.passforiosbeta"
|
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?
|
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
|
match_appstore_beta
|
||||||
end
|
end
|
||||||
increment_build_number(
|
increment_build_number(
|
||||||
|
|
@ -119,15 +119,15 @@ platform :ios do
|
||||||
lane :release do
|
lane :release do
|
||||||
app_identifier = "me.mssun.passforios"
|
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?
|
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
|
match_appstore
|
||||||
end
|
end
|
||||||
increment_build_number(
|
increment_build_number(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue