fastlane_core 0.54.0 → 0.55.0
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/lib/fastlane_core.rb +1 -0
- data/lib/fastlane_core/itunes_transporter.rb +9 -1
- data/lib/fastlane_core/keychain_importer.rb +27 -0
- data/lib/fastlane_core/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 143a7c6da823b3339aa428e4f014d93a119ca6a0
|
4
|
+
data.tar.gz: 7d2fcfc0bfe13b5ab827b0bc8330e7932588f375
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e2565be6469178c77d4c09922f73ab9482be141bb061a5b01660550b82791a67fea5b0cb903fa768bb793ec31b6f292c6c497cea94adeb5331bef0186d7c01b
|
7
|
+
data.tar.gz: 685302019000d5343555386b2872a2859a4e7bdfde570aba6ff9d2f969904e7b0d9c2115412c7d8c7669f64db5adc8bcf0147a8f75a5ad69334741df6bbcc3b0
|
data/lib/fastlane_core.rb
CHANGED
@@ -73,7 +73,15 @@ module FastlaneCore
|
|
73
73
|
UI.error(@errors.join("\n"))
|
74
74
|
end
|
75
75
|
|
76
|
-
|
76
|
+
# this is to handle GitHub issue #1896, which occurs when an
|
77
|
+
# iTMSTransporter file transfer fails; iTMSTransporter will log an error
|
78
|
+
# but will then retry; if that retry is successful, we will see the error
|
79
|
+
# logged, but since the status code is zero, we want to return success
|
80
|
+
if @errors.count > 0 && exit_status.zero?
|
81
|
+
UI.important("Although errors occurred during execution of iTMSTransporter, it returned success status.")
|
82
|
+
end
|
83
|
+
|
84
|
+
exit_status.zero?
|
77
85
|
end
|
78
86
|
|
79
87
|
private
|
@@ -0,0 +1,27 @@
|
|
1
|
+
module FastlaneCore
|
2
|
+
class KeychainImporter
|
3
|
+
def self.import_file(path, keychain_path, keychain_password: "", certificate_password: "", output: $verbose)
|
4
|
+
UI.user_error!("Could not find file '#{path}'") unless File.exist?(path)
|
5
|
+
|
6
|
+
command = "security import #{path.shellescape} -k '#{keychain_path.shellescape}'"
|
7
|
+
command << " -P #{certificate_password.shellescape}"
|
8
|
+
command << " -T /usr/bin/codesign" # to not be asked for permission when running a tool like `gym`
|
9
|
+
command << " -T /usr/bin/security"
|
10
|
+
command << " &> /dev/null" unless output
|
11
|
+
|
12
|
+
Helper.backticks(command, print: output)
|
13
|
+
|
14
|
+
# When security supports partition lists, also add the partition IDs
|
15
|
+
# See https://openradar.appspot.com/28524119
|
16
|
+
if `security -h | grep set-key-partition-list`.length > 0
|
17
|
+
command = "security set-key-partition-list"
|
18
|
+
command << " -S apple-tool:,apple:"
|
19
|
+
command << " -k \"#{keychain_password}\""
|
20
|
+
command << " #{keychain_path.shellescape}"
|
21
|
+
command << " &> /dev/null" unless output
|
22
|
+
|
23
|
+
Helper.backticks(command, print: output)
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.55.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
@@ -395,6 +395,7 @@ files:
|
|
395
395
|
- lib/fastlane_core/ipa_upload_package_builder.rb
|
396
396
|
- lib/fastlane_core/itunes_search_api.rb
|
397
397
|
- lib/fastlane_core/itunes_transporter.rb
|
398
|
+
- lib/fastlane_core/keychain_importer.rb
|
398
399
|
- lib/fastlane_core/languages.rb
|
399
400
|
- lib/fastlane_core/pkg_file_analyser.rb
|
400
401
|
- lib/fastlane_core/pkg_upload_package_builder.rb
|
@@ -433,7 +434,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
433
434
|
version: '0'
|
434
435
|
requirements: []
|
435
436
|
rubyforge_project:
|
436
|
-
rubygems_version: 2.6.
|
437
|
+
rubygems_version: 2.6.6
|
437
438
|
signing_key:
|
438
439
|
specification_version: 4
|
439
440
|
summary: Contains all shared code/dependencies of the fastlane.tools
|