From 2ee0583a807dccdb3f7f74051f59796b02bd35e6 Mon Sep 17 00:00:00 2001 From: Josh Holtz Date: Mon, 23 Mar 2020 20:06:41 -0500 Subject: [PATCH] Version bump to 2.144.0 (#16202) --- README.md | 144 +++++++++++++------------- fastlane.gemspec | 32 +++--- fastlane/lib/fastlane/version.rb | 2 +- fastlane/swift/Deliverfile.swift | 2 +- fastlane/swift/Fastlane.swift | 60 ++++++++++- fastlane/swift/Gymfile.swift | 2 +- fastlane/swift/Matchfile.swift | 2 +- fastlane/swift/Precheckfile.swift | 2 +- fastlane/swift/Scanfile.swift | 2 +- fastlane/swift/ScanfileProtocol.swift | 6 +- fastlane/swift/Screengrabfile.swift | 2 +- fastlane/swift/Snapshotfile.swift | 2 +- 12 files changed, 157 insertions(+), 101 deletions(-) diff --git a/README.md b/README.md index 0e6044d4d4b..d1b43af524f 100644 --- a/README.md +++ b/README.md @@ -34,43 +34,43 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/ + + - - - - - - - - - - + + + + - + - - - - - -
+ + + +

Stefan Natchev

+
+ + + +

Jorge Revuelta H

+

Josh Holtz

- - - -

Danielle Tomlinson

-

Jérôme Lacoste

- - - -

Fumiya Nakamura

-
- - + + + -

Olivier Halligon

+

Maksym Grebenets

- - + + + -

Luka Mirosevic

+

Manu Wallner

@@ -78,31 +78,11 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/

Max Ott

- - - -

Jan Piotrowski

-
- - - -

Jorge Revuelta H

-
- - - -

Manu Wallner

-
- - + + + -

Andrew McBurney

+

Luka Mirosevic

@@ -110,37 +90,57 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/

Daniel Jankowski

+ + + +

Jan Piotrowski

+

Joshua Liebowitz

+ + + +

Jimmy Dee

+

Helmut Januschka

- - + + + -

Kohki Miki

+

Fumiya Nakamura

+
+ + + +

Aaron Brager

- - + + + -

Matthew Ellis

+

Olivier Halligon

- - + + + -

Jimmy Dee

+

Kohki Miki

@@ -148,31 +148,31 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/

Iulian Onofrei

- - + + + -

Stefan Natchev

+

Andrew McBurney

- - + + + -

Felix Krause

+

Matthew Ellis

- - + + + -

Maksym Grebenets

+

Danielle Tomlinson

- - + + + -

Aaron Brager

+

Felix Krause

diff --git a/fastlane.gemspec b/fastlane.gemspec index d32753d051a..c407b423e4c 100644 --- a/fastlane.gemspec +++ b/fastlane.gemspec @@ -15,28 +15,28 @@ Gem::Specification.new do |spec| spec.name = "fastlane" spec.version = Fastlane::VERSION # list of authors is regenerated and resorted on each release - spec.authors = ["Joshua Liebowitz", - "Stefan Natchev", - "Andrew McBurney", - "Aaron Brager", - "Fumiya Nakamura", + spec.authors = ["Danielle Tomlinson", + "Max Ott", "Daniel Jankowski", + "Helmut Januschka", + "Josh Holtz", "Kohki Miki", - "Jorge Revuelta H", - "Matthew Ellis", - "Luka Mirosevic", "Iulian Onofrei", - "Danielle Tomlinson", - "Josh Holtz", - "Manu Wallner", - "Jimmy Dee", - "Helmut Januschka", "Felix Krause", - "Jérôme Lacoste", + "Matthew Ellis", + "Stefan Natchev", "Olivier Halligon", - "Max Ott", + "Luka Mirosevic", "Jan Piotrowski", - "Maksym Grebenets"] + "Joshua Liebowitz", + "Maksym Grebenets", + "Fumiya Nakamura", + "Jimmy Dee", + "Jorge Revuelta H", + "Jérôme Lacoste", + "Andrew McBurney", + "Aaron Brager", + "Manu Wallner"] spec.email = ["fastlane@krausefx.com"] spec.summary = Fastlane::DESCRIPTION diff --git a/fastlane/lib/fastlane/version.rb b/fastlane/lib/fastlane/version.rb index 145710fec41..c11e73d76fd 100644 --- a/fastlane/lib/fastlane/version.rb +++ b/fastlane/lib/fastlane/version.rb @@ -1,5 +1,5 @@ module Fastlane - VERSION = '2.143.0'.freeze + VERSION = '2.144.0'.freeze DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze MINIMUM_XCODE_RELEASE = "7.0".freeze RUBOCOP_REQUIREMENT = '0.49.1'.freeze diff --git a/fastlane/swift/Deliverfile.swift b/fastlane/swift/Deliverfile.swift index cc49de250bd..60783d5ac69 100644 --- a/fastlane/swift/Deliverfile.swift +++ b/fastlane/swift/Deliverfile.swift @@ -18,4 +18,4 @@ class Deliverfile: DeliverfileProtocol { -// Generated with fastlane 2.143.0 +// Generated with fastlane 2.144.0 diff --git a/fastlane/swift/Fastlane.swift b/fastlane/swift/Fastlane.swift index 9ab30b5649b..44ed4785c38 100644 --- a/fastlane/swift/Fastlane.swift +++ b/fastlane/swift/Fastlane.swift @@ -2122,7 +2122,7 @@ func copyArtifacts(keepOriginal: Bool = true, } /** - Upload a new build to [Crashlytics Beta](http://try.crashlytics.com/beta/) + Refer to [Firebase App Distribution](https://appdistro.page.link/fastlane-repo) - parameters: - ipaPath: Path to your IPA file. Optional if you use the _gym_ or _xcodebuild_ action @@ -2137,6 +2137,10 @@ func copyArtifacts(keepOriginal: Bool = true, - notifications: Crashlytics notification option (true/false) - debug: Crashlytics debug option (true/false) + Crashlytics Beta has been deprecated and replaced with Firebase App Distribution. + Beta will continue working until May 4, 2020. + Check out the [Firebase App Distribution docs](https://github.com/fastlane/fastlane-plugin-firebase_app_distribution) to get started. + Additionally, you can specify `notes`, `emails`, `groups` and `notifications`. Distributing to Groups: When using the `groups` parameter, it's important to use the group **alias** names for each group you'd like to distribute to. A group's alias can be found in the web UI. If you're viewing the Beta page, you can open the groups dialog by clicking the 'Manage Groups' button. This action uses the `submit` binary provided by the Crashlytics framework. If the binary is not found in its usual path, you'll need to specify the path manually by using the `crashlytics_path` option. @@ -5071,6 +5075,7 @@ func pluginScores(outputPath: String, - platforms: Lint against specific platforms (defaults to all platforms supported by the podspec). Multiple platforms must be comma-delimited (available since cocoapods >= 1.6) - skipImportValidation: Lint skips validating that the pod can be imported (available since cocoapods >= 1.3) - skipTests: Lint skips building and running tests during validation (available since cocoapods >= 1.3) + - analyze: Validate with the Xcode Static Analysis tool (available since cocoapods >= 1.6.1) Test the syntax of your Podfile by linting the pod against the files of its directory */ @@ -5092,7 +5097,8 @@ func podLibLint(useBundleExec: Bool = true, noSubspecs: Bool = false, platforms: String? = nil, skipImportValidation: Bool = false, - skipTests: Bool = false) { + skipTests: Bool = false, + analyze: Bool = false) { let command = RubyCommand(commandID: "", methodName: "pod_lib_lint", className: nil, args: [RubyCommand.Argument(name: "use_bundle_exec", value: useBundleExec), RubyCommand.Argument(name: "podspec", value: podspec), RubyCommand.Argument(name: "verbose", value: verbose), @@ -5111,7 +5117,8 @@ func podLibLint(useBundleExec: Bool = true, RubyCommand.Argument(name: "no_subspecs", value: noSubspecs), RubyCommand.Argument(name: "platforms", value: platforms), RubyCommand.Argument(name: "skip_import_validation", value: skipImportValidation), - RubyCommand.Argument(name: "skip_tests", value: skipTests)]) + RubyCommand.Argument(name: "skip_tests", value: skipTests), + RubyCommand.Argument(name: "analyze", value: analyze)]) _ = runner.executeCommand(command) } @@ -5640,6 +5647,7 @@ func rubyVersion() { - appIdentifier: The bundle identifier of the app to uninstall (only needed when enabling reinstall_app) - onlyTesting: Array of strings matching Test Bundle/Test Suite/Test Cases to run - skipTesting: Array of strings matching Test Bundle/Test Suite/Test Cases to skip + - testplan: The testplan associated with the scheme that should be used for testing - xctestrun: Run tests using the provided `.xctestrun` file - toolchain: The toolchain that should be used for building the application (e.g. `com.apple.dt.toolchain.Swift_2_3, org.swift.30p620160816a`) - clean: Should the project be cleaned before building it? @@ -5702,6 +5710,7 @@ func runTests(workspace: String? = nil, appIdentifier: String? = nil, onlyTesting: Any? = nil, skipTesting: Any? = nil, + testplan: String? = nil, xctestrun: String? = nil, toolchain: Any? = nil, clean: Bool = false, @@ -5761,6 +5770,7 @@ func runTests(workspace: String? = nil, RubyCommand.Argument(name: "app_identifier", value: appIdentifier), RubyCommand.Argument(name: "only_testing", value: onlyTesting), RubyCommand.Argument(name: "skip_testing", value: skipTesting), + RubyCommand.Argument(name: "testplan", value: testplan), RubyCommand.Argument(name: "xctestrun", value: xctestrun), RubyCommand.Argument(name: "toolchain", value: toolchain), RubyCommand.Argument(name: "clean", value: clean), @@ -5901,6 +5911,7 @@ func say(text: Any, - appIdentifier: The bundle identifier of the app to uninstall (only needed when enabling reinstall_app) - onlyTesting: Array of strings matching Test Bundle/Test Suite/Test Cases to run - skipTesting: Array of strings matching Test Bundle/Test Suite/Test Cases to skip + - testplan: The testplan associated with the scheme that should be used for testing - xctestrun: Run tests using the provided `.xctestrun` file - toolchain: The toolchain that should be used for building the application (e.g. `com.apple.dt.toolchain.Swift_2_3, org.swift.30p620160816a`) - clean: Should the project be cleaned before building it? @@ -5963,6 +5974,7 @@ func scan(workspace: Any? = scanfile.workspace, appIdentifier: Any? = scanfile.appIdentifier, onlyTesting: Any? = scanfile.onlyTesting, skipTesting: Any? = scanfile.skipTesting, + testplan: Any? = scanfile.testplan, xctestrun: Any? = scanfile.xctestrun, toolchain: Any? = scanfile.toolchain, clean: Bool = scanfile.clean, @@ -6022,6 +6034,7 @@ func scan(workspace: Any? = scanfile.workspace, RubyCommand.Argument(name: "app_identifier", value: appIdentifier), RubyCommand.Argument(name: "only_testing", value: onlyTesting), RubyCommand.Argument(name: "skip_testing", value: skipTesting), + RubyCommand.Argument(name: "testplan", value: testplan), RubyCommand.Argument(name: "xctestrun", value: xctestrun), RubyCommand.Argument(name: "toolchain", value: toolchain), RubyCommand.Argument(name: "clean", value: clean), @@ -7123,6 +7136,7 @@ func supply(packageName: String, - quiet: Don't print status logs like 'Linting ' & 'Done linting' - executable: Path to the `swiftlint` executable on your machine - format: Format code when mode is :autocorrect + - noCache: Ignore the cache when mode is :autocorrect or :lint - compilerLogPath: Compiler log path when mode is :analyze */ func swiftlint(mode: Any = "lint", @@ -7137,6 +7151,7 @@ func swiftlint(mode: Any = "lint", quiet: Bool = false, executable: String? = nil, format: Bool = false, + noCache: Bool = false, compilerLogPath: String? = nil) { let command = RubyCommand(commandID: "", methodName: "swiftlint", className: nil, args: [RubyCommand.Argument(name: "mode", value: mode), RubyCommand.Argument(name: "path", value: path), @@ -7150,6 +7165,7 @@ func swiftlint(mode: Any = "lint", RubyCommand.Argument(name: "quiet", value: quiet), RubyCommand.Argument(name: "executable", value: executable), RubyCommand.Argument(name: "format", value: format), + RubyCommand.Argument(name: "no_cache", value: noCache), RubyCommand.Argument(name: "compiler_log_path", value: compilerLogPath)]) _ = runner.executeCommand(command) } @@ -7557,6 +7573,42 @@ func updateAppIdentifier(xcodeproj: String, _ = runner.executeCommand(command) } +/** + Configures Xcode's Codesigning options + + - parameters: + - path: Path to your Xcode project + - useAutomaticSigning: Defines if project should use automatic signing + - teamId: Team ID, is used when upgrading project + - targets: Specify targets you want to toggle the signing mech. (default to all targets) + - codeSignIdentity: Code signing identity type (iPhone Developer, iPhone Distribution) + - profileName: Provisioning profile name to use for code signing + - profileUuid: Provisioning profile UUID to use for code signing + - bundleIdentifier: Application Product Bundle Identifier + + - returns: The current status (boolean) of codesigning after modification + + Configures Xcode's Codesigning options of all targets in the project +*/ +func updateCodeSigningSettings(path: String, + useAutomaticSigning: Bool = false, + teamId: String? = nil, + targets: [String]? = nil, + codeSignIdentity: String? = nil, + profileName: String? = nil, + profileUuid: String? = nil, + bundleIdentifier: String? = nil) { + let command = RubyCommand(commandID: "", methodName: "update_code_signing_settings", className: nil, args: [RubyCommand.Argument(name: "path", value: path), + RubyCommand.Argument(name: "use_automatic_signing", value: useAutomaticSigning), + RubyCommand.Argument(name: "team_id", value: teamId), + RubyCommand.Argument(name: "targets", value: targets), + RubyCommand.Argument(name: "code_sign_identity", value: codeSignIdentity), + RubyCommand.Argument(name: "profile_name", value: profileName), + RubyCommand.Argument(name: "profile_uuid", value: profileUuid), + RubyCommand.Argument(name: "bundle_identifier", value: bundleIdentifier)]) + _ = runner.executeCommand(command) +} + /** Makes sure fastlane-tools are up-to-date when running fastlane @@ -8735,4 +8787,4 @@ let snapshotfile: Snapshotfile = Snapshotfile() // Please don't remove the lines below // They are used to detect outdated files -// FastlaneRunnerAPIVersion [0.9.71] +// FastlaneRunnerAPIVersion [0.9.72] diff --git a/fastlane/swift/Gymfile.swift b/fastlane/swift/Gymfile.swift index 295281a138f..164a038b3f0 100644 --- a/fastlane/swift/Gymfile.swift +++ b/fastlane/swift/Gymfile.swift @@ -18,4 +18,4 @@ class Gymfile: GymfileProtocol { -// Generated with fastlane 2.143.0 +// Generated with fastlane 2.144.0 diff --git a/fastlane/swift/Matchfile.swift b/fastlane/swift/Matchfile.swift index e5f34e5bfab..168f9adab36 100644 --- a/fastlane/swift/Matchfile.swift +++ b/fastlane/swift/Matchfile.swift @@ -18,4 +18,4 @@ class Matchfile: MatchfileProtocol { -// Generated with fastlane 2.143.0 +// Generated with fastlane 2.144.0 diff --git a/fastlane/swift/Precheckfile.swift b/fastlane/swift/Precheckfile.swift index 57f2e854ae8..36442a0ea10 100644 --- a/fastlane/swift/Precheckfile.swift +++ b/fastlane/swift/Precheckfile.swift @@ -18,4 +18,4 @@ class Precheckfile: PrecheckfileProtocol { -// Generated with fastlane 2.143.0 +// Generated with fastlane 2.144.0 diff --git a/fastlane/swift/Scanfile.swift b/fastlane/swift/Scanfile.swift index 0b2994b54e3..3a291f30ec4 100644 --- a/fastlane/swift/Scanfile.swift +++ b/fastlane/swift/Scanfile.swift @@ -18,4 +18,4 @@ class Scanfile: ScanfileProtocol { -// Generated with fastlane 2.143.0 +// Generated with fastlane 2.144.0 diff --git a/fastlane/swift/ScanfileProtocol.swift b/fastlane/swift/ScanfileProtocol.swift index fa8b2e0981a..5a1483771be 100644 --- a/fastlane/swift/ScanfileProtocol.swift +++ b/fastlane/swift/ScanfileProtocol.swift @@ -42,6 +42,9 @@ protocol ScanfileProtocol: class { /// Array of strings matching Test Bundle/Test Suite/Test Cases to skip var skipTesting: String? { get } + /// The testplan associated with the scheme that should be used for testing + var testplan: String? { get } + /// Run tests using the provided `.xctestrun` file var xctestrun: String? { get } @@ -193,6 +196,7 @@ extension ScanfileProtocol { var appIdentifier: String? { return nil } var onlyTesting: String? { return nil } var skipTesting: String? { return nil } + var testplan: String? { return nil } var xctestrun: String? { return nil } var toolchain: String? { return nil } var clean: Bool { return false } @@ -242,4 +246,4 @@ extension ScanfileProtocol { // Please don't remove the lines below // They are used to detect outdated files -// FastlaneRunnerAPIVersion [0.9.26] +// FastlaneRunnerAPIVersion [0.9.27] diff --git a/fastlane/swift/Screengrabfile.swift b/fastlane/swift/Screengrabfile.swift index 3cb514542ef..7dbe6e99163 100644 --- a/fastlane/swift/Screengrabfile.swift +++ b/fastlane/swift/Screengrabfile.swift @@ -18,4 +18,4 @@ class Screengrabfile: ScreengrabfileProtocol { -// Generated with fastlane 2.143.0 +// Generated with fastlane 2.144.0 diff --git a/fastlane/swift/Snapshotfile.swift b/fastlane/swift/Snapshotfile.swift index 5e0d69a5abb..b3b557d5c33 100644 --- a/fastlane/swift/Snapshotfile.swift +++ b/fastlane/swift/Snapshotfile.swift @@ -18,4 +18,4 @@ class Snapshotfile: SnapshotfileProtocol { -// Generated with fastlane 2.143.0 +// Generated with fastlane 2.144.0