mirror of
https://github.com/yattee/yattee.git
synced 2024-12-12 21:30:32 +05:30
Fix getting build number in Fastlane
This commit is contained in:
parent
3526559859
commit
7607cf24b2
@ -34,6 +34,7 @@ platform :ios do
|
||||
key_filepath: DEVELOPER_KEY_FILEPATH
|
||||
)
|
||||
|
||||
build = get_build_number(xcodeproj: "Yattee.xcodeproj")
|
||||
version = get_version_number(
|
||||
xcodeproj: "Yattee.xcodeproj",
|
||||
target: "Yattee (iOS)"
|
||||
@ -41,7 +42,7 @@ platform :ios do
|
||||
|
||||
build_app(
|
||||
scheme: "Yattee (iOS)",
|
||||
output_directory: "fastlane/builds/#{version}-#{lane_context[SharedValues::BUILD_NUMBER]}/iOS",
|
||||
output_directory: "fastlane/builds/#{version}-#{build}/iOS",
|
||||
output_name: "Yattee-#{version}-iOS.ipa",
|
||||
)
|
||||
|
||||
@ -60,6 +61,7 @@ platform :tvos do
|
||||
key_filepath: DEVELOPER_KEY_FILEPATH
|
||||
)
|
||||
|
||||
build = get_build_number(xcodeproj: "Yattee.xcodeproj")
|
||||
version = get_version_number(
|
||||
xcodeproj: "Yattee.xcodeproj",
|
||||
target: "Yattee (tvOS)"
|
||||
@ -67,7 +69,7 @@ platform :tvos do
|
||||
|
||||
build_app(
|
||||
scheme: "Yattee (tvOS)",
|
||||
output_directory: "fastlane/builds/#{version}-#{lane_context[SharedValues::BUILD_NUMBER]}/tvOS",
|
||||
output_directory: "fastlane/builds/#{version}-#{build}/tvOS",
|
||||
output_name: "Yattee-#{version}-tvOS.ipa",
|
||||
)
|
||||
|
||||
@ -86,6 +88,7 @@ platform :mac do
|
||||
key_filepath: DEVELOPER_KEY_FILEPATH
|
||||
)
|
||||
|
||||
build = get_build_number(xcodeproj: "Yattee.xcodeproj")
|
||||
version = get_version_number(
|
||||
xcodeproj: "Yattee.xcodeproj",
|
||||
target: "Yattee (macOS)"
|
||||
@ -93,7 +96,7 @@ platform :mac do
|
||||
|
||||
build_app(
|
||||
scheme: "Yattee (macOS)",
|
||||
output_directory: "fastlane/builds/#{version}-#{lane_context[SharedValues::BUILD_NUMBER]}/macOS",
|
||||
output_directory: "fastlane/builds/#{version}-#{build}/macOS",
|
||||
output_name: "Yattee-#{version}-macOS.app",
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user