mirror of
				https://github.com/yattee/yattee.git
				synced 2025-10-31 12:41:57 +00:00 
			
		
		
		
	Use altool to upload builds
This commit is contained in:
		
							
								
								
									
										3
									
								
								Gemfile
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								Gemfile
									
									
									
									
									
								
							| @@ -1,3 +1,6 @@ | |||||||
| source "https://rubygems.org" | source "https://rubygems.org" | ||||||
|  |  | ||||||
| gem "fastlane" | gem "fastlane" | ||||||
|  |  | ||||||
|  | plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile') | ||||||
|  | eval_gemfile(plugins_path) if File.exist?(plugins_path) | ||||||
|   | |||||||
| @@ -1,3 +1,9 @@ | |||||||
|  | GIT | ||||||
|  |   remote: git@github.com:yattee/fastlane-plugin-altool.git | ||||||
|  |   revision: 4390a87c61f68a0efabb76236606d9861708bd46 | ||||||
|  |   specs: | ||||||
|  |     fastlane-plugin-altool (1.1.0) | ||||||
|  |  | ||||||
| GEM | GEM | ||||||
|   remote: https://rubygems.org/ |   remote: https://rubygems.org/ | ||||||
|   specs: |   specs: | ||||||
| @@ -213,6 +219,7 @@ PLATFORMS | |||||||
|  |  | ||||||
| DEPENDENCIES | DEPENDENCIES | ||||||
|   fastlane |   fastlane | ||||||
|  |   fastlane-plugin-altool! | ||||||
|  |  | ||||||
| BUNDLED WITH | BUNDLED WITH | ||||||
|    2.3.6 |    2.3.6 | ||||||
|   | |||||||
| @@ -26,8 +26,6 @@ end | |||||||
| platform :ios do | platform :ios do | ||||||
|   desc "Push a new beta build to TestFlight" |   desc "Push a new beta build to TestFlight" | ||||||
|   lane :beta do |   lane :beta do | ||||||
|     xcode_select("/Applications/Xcode-13.4.1.app") |  | ||||||
|  |  | ||||||
|     app_store_connect_api_key( |     app_store_connect_api_key( | ||||||
|       key_id: DEVELOPER_KEY_ID, |       key_id: DEVELOPER_KEY_ID, | ||||||
|       issuer_id: DEVELOPER_KEY_ISSUER_ID, |       issuer_id: DEVELOPER_KEY_ISSUER_ID, | ||||||
| @@ -46,15 +44,16 @@ platform :ios do | |||||||
|       output_name: "Yattee-#{version}-iOS.ipa", |       output_name: "Yattee-#{version}-iOS.ipa", | ||||||
|     ) |     ) | ||||||
|  |  | ||||||
|     upload_to_testflight |     altool( | ||||||
|  |       altool_app_type: "ios", | ||||||
|  |       altool_ipa_path: lane_context[SharedValues::IPA_OUTPUT_PATH] | ||||||
|  |     ) | ||||||
|   end |   end | ||||||
| end | end | ||||||
|  |  | ||||||
| platform :tvos do | platform :tvos do | ||||||
|   desc "Push a new beta build to TestFlight" |   desc "Push a new beta build to TestFlight" | ||||||
|   lane :beta do |   lane :beta do | ||||||
|     xcode_select("/Applications/Xcode-13.4.1.app") |  | ||||||
|  |  | ||||||
|     app_store_connect_api_key( |     app_store_connect_api_key( | ||||||
|       key_id: DEVELOPER_KEY_ID, |       key_id: DEVELOPER_KEY_ID, | ||||||
|       issuer_id: DEVELOPER_KEY_ISSUER_ID, |       issuer_id: DEVELOPER_KEY_ISSUER_ID, | ||||||
| @@ -73,15 +72,16 @@ platform :tvos do | |||||||
|       output_name: "Yattee-#{version}-tvOS.ipa", |       output_name: "Yattee-#{version}-tvOS.ipa", | ||||||
|     ) |     ) | ||||||
|  |  | ||||||
|     upload_to_testflight |     altool( | ||||||
|  |       altool_app_type: "tvos", | ||||||
|  |       altool_ipa_path: lane_context[SharedValues::IPA_OUTPUT_PATH] | ||||||
|  |     ) | ||||||
|   end |   end | ||||||
| end | end | ||||||
|  |  | ||||||
| platform :mac do | platform :mac do | ||||||
|   desc "Push a new beta build to TestFlight" |   desc "Push a new beta build to TestFlight" | ||||||
|   lane :beta do |   lane :beta do | ||||||
|     xcode_select("/Applications/Xcode-13.4.1.app") |  | ||||||
|  |  | ||||||
|     app_store_connect_api_key( |     app_store_connect_api_key( | ||||||
|       key_id: DEVELOPER_KEY_ID, |       key_id: DEVELOPER_KEY_ID, | ||||||
|       issuer_id: DEVELOPER_KEY_ISSUER_ID, |       issuer_id: DEVELOPER_KEY_ISSUER_ID, | ||||||
| @@ -100,6 +100,9 @@ platform :mac do | |||||||
|       output_name: "Yattee-#{version}-macOS.app", |       output_name: "Yattee-#{version}-macOS.app", | ||||||
|     ) |     ) | ||||||
|  |  | ||||||
|     upload_to_testflight |     altool( | ||||||
|  |       altool_app_type: "macos", | ||||||
|  |       altool_ipa_path: lane_context[SharedValues::PKG_OUTPUT_PATH] | ||||||
|  |     ) | ||||||
|   end |   end | ||||||
| end | end | ||||||
|   | |||||||
							
								
								
									
										5
									
								
								fastlane/Pluginfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								fastlane/Pluginfile
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | |||||||
|  | # Autogenerated by fastlane | ||||||
|  | # | ||||||
|  | # Ensure this file is checked in to source control! | ||||||
|  |  | ||||||
|  | gem 'fastlane-plugin-altool', git: "git@github.com:yattee/fastlane-plugin-altool.git" | ||||||
		Reference in New Issue
	
	Block a user
	 Arkadiusz Fal
					Arkadiusz Fal