diff --git a/fastlane/Fastfile.swift b/fastlane/Fastfile.swift index 13e04d02..80cf5726 100644 --- a/fastlane/Fastfile.swift +++ b/fastlane/Fastfile.swift @@ -10,59 +10,6 @@ import Foundation class Fastfile: LaneFile { - // MARK: tag - - func tagLane(withOptions options: [String: String]?) { - - guard let options, - let tag = options["tag"] else { - puts(message: "ERROR: missing options") - exit(1) - } - - guard !gitTagExists(tag: tag) else { - puts(message: "ERROR: tag \(tag) already exists") - exit(1) - } - - addGitTag( - tag: .userDefined(tag), - commit: .userDefined(options["commit"]) - ) - - pushGitTags( - force: true - ) - } - - // MARK: draft release - - func draftReleaseLane(withOptions options: [String: String]?) { - - guard let options, - let repository = options["repository"], - let apiToken = options["apiToken"], - let tag = options["tag"], - let name64 = options["name64"] else { - puts(message: "ERROR: missing options") - exit(1) - } - - guard let name = decodeBase64(encoded: name64) else { - puts(message: "ERROR: name not valid base 64") - exit(1) - } - - setGithubRelease( - repositoryName: repository, - apiToken: .userDefined(apiToken), - tagName: tag, - name: .userDefined(name), - isDraft: true, - isGenerateReleaseNotes: true - ) - } - // MARK: TestFlight // TODO: verify tvOS diff --git a/fastlane/FastlaneRunner b/fastlane/FastlaneRunner index 917c1237..070c8495 100755 Binary files a/fastlane/FastlaneRunner and b/fastlane/FastlaneRunner differ diff --git a/fastlane/swift/DeliverfileProtocol.swift b/fastlane/swift/DeliverfileProtocol.swift index 653cabe0..a9f12c0d 100644 --- a/fastlane/swift/DeliverfileProtocol.swift +++ b/fastlane/swift/DeliverfileProtocol.swift @@ -272,4 +272,4 @@ public extension DeliverfileProtocol { // Please don't remove the lines below // They are used to detect outdated files -// FastlaneRunnerAPIVersion [0.9.131] +// FastlaneRunnerAPIVersion [0.9.132] diff --git a/fastlane/swift/Fastlane.swift b/fastlane/swift/Fastlane.swift index be282cbe..9daed81a 100644 --- a/fastlane/swift/Fastlane.swift +++ b/fastlane/swift/Fastlane.swift @@ -11602,9 +11602,13 @@ public func teamName() { - autoUpdate: Allows an easy upgrade of all users to the current version. To enable set to 'on' - notify: Send email to testers - options: Array of options (shake,video_only_wifi,anonymous) - - custom: Array of custom options. Contact support@testfairy.com for more information + - custom: Array of custom options. Contact support for more information - timeout: Request timeout in seconds - tags: Custom tags that can be used to organize your builds + - folderName: Name of the dashboard folder that contains this app + - landingPageMode: Visibility of build landing after upload. Can be 'open' or 'closed' + - uploadToSaucelabs: Upload file directly to Sauce Labs. It can be 'on' or 'off' + - platform: Use if upload build is not iOS or Android. Contact support for more information You can retrieve your API key on [your settings page](https://free.testfairy.com/settings/) */ @@ -11621,7 +11625,11 @@ public func testfairy(apiKey: String, options: [String] = [], custom: String = "", timeout: OptionalConfigValue = .fastlaneDefault(nil), - tags: [String] = []) + tags: [String] = [], + folderName: String = "", + landingPageMode: String = "open", + uploadToSaucelabs: String = "off", + platform: String = "") { let apiKeyArg = RubyCommand.Argument(name: "api_key", value: apiKey, type: nil) let ipaArg = ipa.asRubyArgument(name: "ipa", type: nil) @@ -11637,6 +11645,10 @@ public func testfairy(apiKey: String, let customArg = RubyCommand.Argument(name: "custom", value: custom, type: nil) let timeoutArg = timeout.asRubyArgument(name: "timeout", type: nil) let tagsArg = RubyCommand.Argument(name: "tags", value: tags, type: nil) + let folderNameArg = RubyCommand.Argument(name: "folder_name", value: folderName, type: nil) + let landingPageModeArg = RubyCommand.Argument(name: "landing_page_mode", value: landingPageMode, type: nil) + let uploadToSaucelabsArg = RubyCommand.Argument(name: "upload_to_saucelabs", value: uploadToSaucelabs, type: nil) + let platformArg = RubyCommand.Argument(name: "platform", value: platform, type: nil) let array: [RubyCommand.Argument?] = [apiKeyArg, ipaArg, apkArg, @@ -11650,7 +11662,11 @@ public func testfairy(apiKey: String, optionsArg, customArg, timeoutArg, - tagsArg] + tagsArg, + folderNameArg, + landingPageModeArg, + uploadToSaucelabsArg, + platformArg] let args: [RubyCommand.Argument] = array .filter { $0?.value != nil } .compactMap { $0 } @@ -13861,4 +13877,4 @@ public let snapshotfile: Snapshotfile = .init() // Please don't remove the lines below // They are used to detect outdated files -// FastlaneRunnerAPIVersion [0.9.184] +// FastlaneRunnerAPIVersion [0.9.185] diff --git a/fastlane/swift/GymfileProtocol.swift b/fastlane/swift/GymfileProtocol.swift index f6c7eca5..bac95f66 100644 --- a/fastlane/swift/GymfileProtocol.swift +++ b/fastlane/swift/GymfileProtocol.swift @@ -212,4 +212,4 @@ public extension GymfileProtocol { // Please don't remove the lines below // They are used to detect outdated files -// FastlaneRunnerAPIVersion [0.9.134] +// FastlaneRunnerAPIVersion [0.9.135] diff --git a/fastlane/swift/MatchfileProtocol.swift b/fastlane/swift/MatchfileProtocol.swift index 292f8771..92156bd8 100644 --- a/fastlane/swift/MatchfileProtocol.swift +++ b/fastlane/swift/MatchfileProtocol.swift @@ -232,4 +232,4 @@ public extension MatchfileProtocol { // Please don't remove the lines below // They are used to detect outdated files -// FastlaneRunnerAPIVersion [0.9.128] +// FastlaneRunnerAPIVersion [0.9.129] diff --git a/fastlane/swift/PrecheckfileProtocol.swift b/fastlane/swift/PrecheckfileProtocol.swift index fcac61a5..b0a0f2ac 100644 --- a/fastlane/swift/PrecheckfileProtocol.swift +++ b/fastlane/swift/PrecheckfileProtocol.swift @@ -52,4 +52,4 @@ public extension PrecheckfileProtocol { // Please don't remove the lines below // They are used to detect outdated files -// FastlaneRunnerAPIVersion [0.9.127] +// FastlaneRunnerAPIVersion [0.9.128] diff --git a/fastlane/swift/ScanfileProtocol.swift b/fastlane/swift/ScanfileProtocol.swift index 16592f71..5b27356e 100644 --- a/fastlane/swift/ScanfileProtocol.swift +++ b/fastlane/swift/ScanfileProtocol.swift @@ -324,4 +324,4 @@ public extension ScanfileProtocol { // Please don't remove the lines below // They are used to detect outdated files -// FastlaneRunnerAPIVersion [0.9.139] +// FastlaneRunnerAPIVersion [0.9.140] diff --git a/fastlane/swift/ScreengrabfileProtocol.swift b/fastlane/swift/ScreengrabfileProtocol.swift index e3c386a6..c57050ee 100644 --- a/fastlane/swift/ScreengrabfileProtocol.swift +++ b/fastlane/swift/ScreengrabfileProtocol.swift @@ -96,4 +96,4 @@ public extension ScreengrabfileProtocol { // Please don't remove the lines below // They are used to detect outdated files -// FastlaneRunnerAPIVersion [0.9.129] +// FastlaneRunnerAPIVersion [0.9.130] diff --git a/fastlane/swift/SnapshotfileProtocol.swift b/fastlane/swift/SnapshotfileProtocol.swift index 6963e987..22829eb7 100644 --- a/fastlane/swift/SnapshotfileProtocol.swift +++ b/fastlane/swift/SnapshotfileProtocol.swift @@ -208,4 +208,4 @@ public extension SnapshotfileProtocol { // Please don't remove the lines below // They are used to detect outdated files -// FastlaneRunnerAPIVersion [0.9.123] +// FastlaneRunnerAPIVersion [0.9.124]