Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f05cdfba4f | ||
|
|
737ec11503 |
+1
-18
@@ -36,7 +36,7 @@ module Fastlane
|
|||||||
Helper::IosCdHelper.check_required_fields(required_fields, creds.keys)
|
Helper::IosCdHelper.check_required_fields(required_fields, creds.keys)
|
||||||
|
|
||||||
# Delete keychain if existing
|
# Delete keychain if existing
|
||||||
if File.exist?(File.expand_path("~/Library/Keychains/#{name}-db"))
|
if File.exist?(File.expand_path("~/Library/Keychains/#{creds['temp_keychain_user']}-db"))
|
||||||
other_action.delete_keychain(
|
other_action.delete_keychain(
|
||||||
name: creds['temp_keychain_user'].to_s
|
name: creds['temp_keychain_user'].to_s
|
||||||
)
|
)
|
||||||
@@ -61,23 +61,6 @@ module Fastlane
|
|||||||
)
|
)
|
||||||
UI.message("🍺 API Key formated")
|
UI.message("🍺 API Key formated")
|
||||||
|
|
||||||
last_testflight_build_number =
|
|
||||||
other_action.latest_testflight_build_number(
|
|
||||||
api_key: api_key,
|
|
||||||
team_id: creds['team_id'].to_s,
|
|
||||||
team_name: creds['team_name'].to_s,
|
|
||||||
platform: 'ios',
|
|
||||||
app_identifier: creds['developer_app_identifier'].to_s,
|
|
||||||
username: creds['username'].to_s
|
|
||||||
) + 1
|
|
||||||
|
|
||||||
# Increment build number for latest TestFlight build
|
|
||||||
other_action.increment_build_number(
|
|
||||||
build_number: last_testflight_build_number,
|
|
||||||
xcodeproj: "Runner.xcodeproj"
|
|
||||||
)
|
|
||||||
UI.message("🍺 Build number incremented")
|
|
||||||
|
|
||||||
# Install Cocoapods
|
# Install Cocoapods
|
||||||
other_action.cocoapods(
|
other_action.cocoapods(
|
||||||
clean_install: true,
|
clean_install: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user