Compare commits

...

20 Commits

Author SHA1 Message Date
Vladimir Makarov e4465fc6d1
Merge pull request #301 from TouchInstinct/release/vuzbank_c2b
release/vuzbank_c2b -> vuzbank
2022-02-17 23:56:44 +05:00
Vladimir Makarov 42f7ccfc0e
Merge pull request #298 from TouchInstinct/fix/vuz_buildscripts_fix
VUZ | Increment build number in xcodeproj target added
2022-01-25 22:40:00 +05:00
Vladimir Makarov 4dfd614140 VUZ | Increment build number in xcodeproj target added 2022-01-25 22:28:22 +05:00
Vladimir Makarov f50362f5f3
Merge pull request #297 from TouchInstinct/feature/vuzbank_update
Configuration Type Prefix added
2022-01-12 20:28:38 +05:00
Vladimir Makarov 66ecde9ad1 Configuration Type Prefix added 2022-01-12 19:07:02 +05:00
Vladimir Makarov 6364922010
Merge pull request #296 from TouchInstinct/feature/vuzbank_update
Change appName property
2022-01-12 18:51:59 +05:00
Vladimir Makarov a2f193cd86 Change appName property 2022-01-12 18:23:25 +05:00
Vladimir Makarov 8c0df8348d
Merge pull request #295 from TouchInstinct/feature/vuzbank_update
VUZ | BuildScripts update
2022-01-12 17:41:12 +05:00
Vladimir Makarov d15d8b4702 Merge branch 'master' into feature/vuzbank_update 2022-01-12 15:39:05 +05:00
svshkv a202bc1c68
Merge pull request #288 from TouchInstinct/feature/update_api_keys
Feature/update api keys
2021-11-19 10:37:52 +03:00
Ivan Smolin eee2c487b0 Merge pull request #244 from TouchInstinct/feature/api_key_fixes
use two api keys: project and touchin
# Conflicts:
#	xcode/commonFastfile
2021-11-18 19:21:19 +03:00
Ivan Smolin 66a2fda126 Merge pull request #243 from TouchInstinct/feature/fastlane_app_store_connect_api
use App Store Connect API for match and upload_to_app_store
2021-11-18 19:17:11 +03:00
svshkv 9fbc2ce29a
Merge pull request #287 from TouchInstinct/feature/add_local_storage_to_me2me
Merge pull request #231 from TouchInstinct/feature/match_local_storage
2021-11-18 13:28:20 +03:00
Ivan Smolin 2a23dcea66 Merge pull request #231 from TouchInstinct/feature/match_local_storage
match local storage
# Conflicts:
#	xcode/commonFastfile
2021-11-18 11:50:00 +03:00
Vladimir Makarov abdfbd42ad
Merge pull request #284 from TouchInstinct/fix/vuz_fix
VUZ api generator fix
2021-10-28 12:32:33 +05:00
Vladimir Makarov 311388842f VUZ api generator fix 2021-10-27 17:21:36 +05:00
Dmitry b022930ade Merge branch 'feature/vuz_me2me_api_generator' into feature/vuz_me2me 2021-10-26 14:05:55 +07:00
Ivan Smolin 82ca52105f update api generator download url
# Conflicts:
#	xcode/build_phases/api_generator.sh
2021-10-26 13:50:07 +07:00
Ivan Smolin 5e274ea51e replace timeout: false with timeout: 0 according to https://github.com/fastlane/fastlane/pull/18894 2021-10-25 23:26:27 +07:00
Vitaliy Salnikov 995a997f2b Increment build number without agvtool 2020-08-07 17:04:00 +03:00
3 changed files with 19 additions and 10 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

View File

@ -11,6 +11,14 @@ Match.module_eval do
end end
end end
# ugly hack to add support for custom storage
Match.module_eval do
def self.storage_modes
return %w(git google_cloud s3 local)
end
end
private_lane :installDependencies do |options| private_lane :installDependencies do |options|
podsReposPath = File.expand_path "~/.cocoapods/repos/master/" podsReposPath = File.expand_path "~/.cocoapods/repos/master/"
lockFilePath = "#{podsReposPath}/.git/index.lock" lockFilePath = "#{podsReposPath}/.git/index.lock"
@ -102,9 +110,11 @@ private_lane :buildConfiguration do |options|
openKeychain(options) openKeychain(options)
if !options[:buildNumber].nil? if is_ci
increment_build_number( increment_build_number_in_xcodeproj(
build_number: options[:buildNumber] build_number: options[:buildNumber],
xcodeproj: "./#{options[:appName]}.xcodeproj",
target: options[:appName]
) )
end end
@ -398,7 +408,7 @@ def get_configuration_for_type(type)
end end
def get_google_services_plist_path(app_target_folder_name, configuration_type) def get_google_services_plist_path(app_target_folder_name, configuration_type)
File.expand_path "../#{app_target_folder_name}/Resources/GoogleService-Info.plist" File.expand_path "../#{app_target_folder_name}/Resources/#{configuration_type.prefix}-GoogleService-Info.plist"
end end
def generate_enabled_features_extension_if_needed(options) def generate_enabled_features_extension_if_needed(options)
@ -446,6 +456,7 @@ def set_xcconfig_for_configuration_of_project(lane_name, configuration, xcodepro
application_targets = project.native_targets.select(&target_to_modify_selector) application_targets = project.native_targets.select(&target_to_modify_selector)
application_targets.each do |target| application_targets.each do |target|
build_configuration = target.build_configuration_list[configuration]
config_name = target.name + lane_name config_name = target.name + lane_name
build_configuration_reference = project.files.select { |f| f.path.start_with?(config_name) }.first build_configuration_reference = project.files.select { |f| f.path.start_with?(config_name) }.first
@ -477,4 +488,4 @@ def run_code_generation_phase_if_needed(options)
if File.exists? code_generation_script_path if File.exists? code_generation_script_path
sh(code_generation_script_path, options[:workspace]) sh(code_generation_script_path, options[:workspace])
end end
end end

View File

@ -42,6 +42,8 @@ module Touchlane
# Those doesn't mean they're new, it might just be they're changed # Those doesn't mean they're new, it might just be they're changed
# Either way, we'll upload them using the same technique # Either way, we'll upload them using the same technique
Dir.mkdir(self.signing_identities_path) unless File.exists?(self.signing_identities_path)
files_to_upload.each do |current_file| files_to_upload.each do |current_file|
# Go from # Go from
# "/var/folders/px/bz2kts9n69g8crgv4jpjh6b40000gn/T/d20181026-96528-1av4gge/profiles/development/Development_me.mobileprovision" # "/var/folders/px/bz2kts9n69g8crgv4jpjh6b40000gn/T/d20181026-96528-1av4gge/profiles/development/Development_me.mobileprovision"
@ -51,11 +53,7 @@ module Touchlane
# We also have to remove the trailing `/` as Google Cloud doesn't handle it nicely # We also have to remove the trailing `/` as Google Cloud doesn't handle it nicely
target_path = current_file.gsub(self.working_directory + "/", "") target_path = current_file.gsub(self.working_directory + "/", "")
absolute_target_path = File.join(self.signing_identities_path, target_path) FileUtils.cp_r(current_file, File.join(self.signing_identities_path, target_path), remove_destination: true)
FileUtils.mkdir_p(File.dirname(absolute_target_path))
FileUtils.cp_r(current_file, absolute_target_path, remove_destination: true)
end end
end end