mirror of
https://github.com/yattee/yattee.git
synced 2024-11-09 15:58:20 +00:00
Use altool to upload builds
This commit is contained in:
parent
7607cf24b2
commit
30889619fd
3
Gemfile
3
Gemfile
@ -1,3 +1,6 @@
|
||||
source "https://rubygems.org"
|
||||
|
||||
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
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
@ -213,6 +219,7 @@ PLATFORMS
|
||||
|
||||
DEPENDENCIES
|
||||
fastlane
|
||||
fastlane-plugin-altool!
|
||||
|
||||
BUNDLED WITH
|
||||
2.3.6
|
||||
|
@ -26,8 +26,6 @@ end
|
||||
platform :ios do
|
||||
desc "Push a new beta build to TestFlight"
|
||||
lane :beta do
|
||||
xcode_select("/Applications/Xcode-13.4.1.app")
|
||||
|
||||
app_store_connect_api_key(
|
||||
key_id: DEVELOPER_KEY_ID,
|
||||
issuer_id: DEVELOPER_KEY_ISSUER_ID,
|
||||
@ -46,15 +44,16 @@ platform :ios do
|
||||
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
|
||||
|
||||
platform :tvos do
|
||||
desc "Push a new beta build to TestFlight"
|
||||
lane :beta do
|
||||
xcode_select("/Applications/Xcode-13.4.1.app")
|
||||
|
||||
app_store_connect_api_key(
|
||||
key_id: DEVELOPER_KEY_ID,
|
||||
issuer_id: DEVELOPER_KEY_ISSUER_ID,
|
||||
@ -73,15 +72,16 @@ platform :tvos do
|
||||
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
|
||||
|
||||
platform :mac do
|
||||
desc "Push a new beta build to TestFlight"
|
||||
lane :beta do
|
||||
xcode_select("/Applications/Xcode-13.4.1.app")
|
||||
|
||||
app_store_connect_api_key(
|
||||
key_id: DEVELOPER_KEY_ID,
|
||||
issuer_id: DEVELOPER_KEY_ISSUER_ID,
|
||||
@ -100,6 +100,9 @@ platform :mac do
|
||||
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
|
||||
|
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"
|
Loading…
Reference in New Issue
Block a user