use App Store Connect API for match and upload_to_app_store
This commit is contained in:
parent
659baf6ced
commit
039ddac90a
|
|
@ -1,4 +1,5 @@
|
|||
$appName = File.basename(Dir['../*.xcworkspace'].first, '.*')
|
||||
$API_KEY_PATH="fastlane/api_key.json"
|
||||
|
||||
require_relative 'fastlane/touchlane/lib/touchlane'
|
||||
require_relative 'managers/managers'
|
||||
|
|
@ -82,6 +83,7 @@ end
|
|||
private_lane :uploadToAppStore do |options|
|
||||
upload_to_app_store(
|
||||
username: options[:username] || options[:apple_id],
|
||||
api_key_path: $API_KEY_PATH,
|
||||
ipa: options[:ipa_path],
|
||||
force: true, # skip metainfo prompt
|
||||
skip_metadata: true,
|
||||
|
|
@ -232,8 +234,8 @@ lane :SyncSymbols do |options|
|
|||
|
||||
xcodeproj_path = File.expand_path "../#{appName}.xcodeproj"
|
||||
|
||||
version_number = options[:version] || get_version_number(xcodeproj: xcodeproj_path, target: appName)
|
||||
build_number = options[:build_number] || get_build_number(xcodeproj: xcodeproj_path)
|
||||
version_number = options[:version] || "latest"
|
||||
build_number = options[:build_number]
|
||||
|
||||
if configuration.type.is_app_store
|
||||
download_dsyms(
|
||||
|
|
@ -344,6 +346,7 @@ def sync_code_signing_using_options(options)
|
|||
match(
|
||||
app_identifier: options[:app_identifier],
|
||||
username: options[:username] || options[:apple_id],
|
||||
api_key_path: $API_KEY_PATH,
|
||||
team_id: options[:team_id],
|
||||
type: options[:type],
|
||||
readonly: options[:readonly].nil? ? true : options[:readonly],
|
||||
|
|
|
|||
Loading…
Reference in New Issue