fastlane 2.75.0 → 2.75.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/deliver/lib/deliver/runner.rb +1 -0
- data/fastlane/lib/fastlane/actions/get_info_plist_value.rb +2 -2
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane/swift/Deliverfile.swift +1 -1
- data/fastlane/swift/Fastlane.swift +4 -2
- data/fastlane/swift/Gymfile.swift +1 -1
- data/fastlane/swift/Matchfile.swift +1 -1
- data/fastlane/swift/Precheckfile.swift +1 -1
- data/fastlane/swift/Scanfile.swift +1 -1
- data/fastlane/swift/Screengrabfile.swift +1 -1
- data/fastlane/swift/Snapshotfile.swift +1 -1
- data/pilot/lib/pilot/manager.rb +1 -0
- data/produce/lib/produce/itunes_connect.rb +1 -0
- data/spaceship/lib/spaceship/base.rb +12 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f338936293c5d07951e36822d6fc311be2e6983c
|
4
|
+
data.tar.gz: ae280a88555a7c50902397aadb6d98048bcb06bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a7b8bcb682bc77acbf1e7c556eebf53e62bf24e9ee14f5711446c87903deeee0b5d28f754dc5872a570f4f2bbe95974d854956bb21b97dc4a890d3c692b08f5
|
7
|
+
data.tar.gz: 4e8af52bb4bf45f3dfffb9835e0cb42f3d58d46e5040516a40347e07be61476c0730dfd46b9528bcde5cdca95d5f73570d7ed6d23ac31c8d1e60365e1613112e
|
@@ -5,6 +5,7 @@ require 'fastlane_core/crash_reporter/crash_reporter'
|
|
5
5
|
require 'fastlane_core/ipa_upload_package_builder'
|
6
6
|
require 'fastlane_core/pkg_upload_package_builder'
|
7
7
|
require 'fastlane_core/itunes_transporter'
|
8
|
+
require 'spaceship'
|
8
9
|
require_relative 'html_generator'
|
9
10
|
require_relative 'submit_for_review'
|
10
11
|
require_relative 'upload_assets'
|
@@ -10,7 +10,8 @@ module Fastlane
|
|
10
10
|
|
11
11
|
begin
|
12
12
|
path = File.expand_path(params[:path])
|
13
|
-
|
13
|
+
|
14
|
+
plist = File.open(path) { |f| Plist.parse_xml(f) }
|
14
15
|
|
15
16
|
value = plist[params[:key]]
|
16
17
|
Actions.lane_context[SharedValues::GET_INFO_PLIST_VALUE_CUSTOM_VALUE] = value
|
@@ -18,7 +19,6 @@ module Fastlane
|
|
18
19
|
return value
|
19
20
|
rescue => ex
|
20
21
|
UI.error(ex)
|
21
|
-
UI.error("Unable to find plist file at '#{path}'")
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
@@ -1413,8 +1413,10 @@ func gcovr() {
|
|
1413
1413
|
let command = RubyCommand(commandID: "", methodName: "gcovr", className: nil, args: [])
|
1414
1414
|
_ = runner.executeCommand(command)
|
1415
1415
|
}
|
1416
|
-
@discardableResult func getBuildNumber(xcodeproj: String? = nil
|
1417
|
-
|
1416
|
+
@discardableResult func getBuildNumber(xcodeproj: String? = nil,
|
1417
|
+
hideErrorWhenVersioningDisabled: Bool = false) -> String {
|
1418
|
+
let command = RubyCommand(commandID: "", methodName: "get_build_number", className: nil, args: [RubyCommand.Argument(name: "xcodeproj", value: xcodeproj),
|
1419
|
+
RubyCommand.Argument(name: "hide_error_when_versioning_disabled", value: hideErrorWhenVersioningDisabled)])
|
1418
1420
|
return runner.executeCommand(command)
|
1419
1421
|
}
|
1420
1422
|
func getBuildNumberRepository(useHgRevisionNumber: Bool = false) {
|
data/pilot/lib/pilot/manager.rb
CHANGED
@@ -134,8 +134,18 @@ module Spaceship
|
|
134
134
|
@attr_mapping.values.each do |method_name|
|
135
135
|
getter = method_name.to_sym
|
136
136
|
setter = "#{method_name}=".to_sym
|
137
|
-
|
138
|
-
|
137
|
+
|
138
|
+
# Seems like the `public_instance_methods.include?` doesn't always work
|
139
|
+
# More context https://github.com/fastlane/fastlane/issues/11481
|
140
|
+
# That's why we have the `begin` `rescue` code here
|
141
|
+
begin
|
142
|
+
remove_method(getter) if public_instance_methods.include?(getter)
|
143
|
+
rescue NameError
|
144
|
+
end
|
145
|
+
begin
|
146
|
+
remove_method(setter) if public_instance_methods.include?(setter)
|
147
|
+
rescue NameError
|
148
|
+
end
|
139
149
|
end
|
140
150
|
include(mapping_module(@attr_mapping))
|
141
151
|
else
|