fastlane 2.118.0 → 2.118.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/README.md +76 -76
- data/fastlane/lib/fastlane/actions/create_keychain.rb +12 -13
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane/swift/Deliverfile.swift +1 -1
- 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/fastlane_core/lib/fastlane_core/keychain_importer.rb +1 -1
- metadata +16 -16
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3a450bb9d0e09436fef01903a0e81b55598d0e99
|
|
4
|
+
data.tar.gz: 2d9a7bb9d96dbb0722f9327230f51413372862e6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b9b2851d92a284791b90713faadf9e7b6e5fd1cb4623bf29600c35c8a081976c27949e67812d970f68ef510190e6000e2ccc0aa03cb6e99f13b99ba4590ec5de
|
|
7
|
+
data.tar.gz: c8660c6c46b669ee4a3957e042fd5b38fbf6708c46051a3370deee5ae7e0da1180bd6a3a3a46a7a3651efb383b270926b937a595ee6d1e0ee9c755dddd89bd5a
|
data/README.md
CHANGED
|
@@ -33,23 +33,43 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
|
|
|
33
33
|
<!-- This table is regenerated and resorted on each release -->
|
|
34
34
|
<table id='team'>
|
|
35
35
|
<tr>
|
|
36
|
-
<td id='
|
|
37
|
-
<a href='https://github.com/
|
|
38
|
-
<img src='https://github.com/
|
|
36
|
+
<td id='jérôme-lacoste'>
|
|
37
|
+
<a href='https://github.com/lacostej'>
|
|
38
|
+
<img src='https://github.com/lacostej.png?size=140'>
|
|
39
39
|
</a>
|
|
40
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
40
|
+
<h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
|
|
41
41
|
</td>
|
|
42
|
-
<td id='
|
|
43
|
-
<a href='https://github.com/
|
|
44
|
-
<img src='https://github.com/
|
|
42
|
+
<td id='aaron-brager'>
|
|
43
|
+
<a href='https://github.com/getaaron'>
|
|
44
|
+
<img src='https://github.com/getaaron.png?size=140'>
|
|
45
45
|
</a>
|
|
46
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
46
|
+
<h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
|
|
47
47
|
</td>
|
|
48
|
-
<td id='
|
|
49
|
-
<a href='https://github.com/
|
|
50
|
-
<img src='https://github.com/
|
|
48
|
+
<td id='danielle-tomlinson'>
|
|
49
|
+
<a href='https://github.com/DanToml'>
|
|
50
|
+
<img src='https://github.com/DanToml.png?size=140'>
|
|
51
51
|
</a>
|
|
52
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
52
|
+
<h4 align='center'><a href='https://twitter.com/DanToml'>Danielle Tomlinson</a></h4>
|
|
53
|
+
</td>
|
|
54
|
+
<td id='olivier-halligon'>
|
|
55
|
+
<a href='https://github.com/AliSoftware'>
|
|
56
|
+
<img src='https://github.com/AliSoftware.png?size=140'>
|
|
57
|
+
</a>
|
|
58
|
+
<h4 align='center'><a href='https://twitter.com/aligatr'>Olivier Halligon</a></h4>
|
|
59
|
+
</td>
|
|
60
|
+
<td id='jimmy-dee'>
|
|
61
|
+
<a href='https://github.com/jdee'>
|
|
62
|
+
<img src='https://github.com/jdee.png?size=140'>
|
|
63
|
+
</a>
|
|
64
|
+
<h4 align='center'>Jimmy Dee</h4>
|
|
65
|
+
</td>
|
|
66
|
+
</tr>
|
|
67
|
+
<tr>
|
|
68
|
+
<td id='jorge-revuelta-h'>
|
|
69
|
+
<a href='https://github.com/minuscorp'>
|
|
70
|
+
<img src='https://github.com/minuscorp.png?size=140'>
|
|
71
|
+
</a>
|
|
72
|
+
<h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
|
|
53
73
|
</td>
|
|
54
74
|
<td id='matthew-ellis'>
|
|
55
75
|
<a href='https://github.com/matthewellis'>
|
|
@@ -57,25 +77,37 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
|
|
|
57
77
|
</a>
|
|
58
78
|
<h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
|
|
59
79
|
</td>
|
|
60
|
-
<td id='
|
|
61
|
-
<a href='https://github.com/
|
|
62
|
-
<img src='https://github.com/
|
|
80
|
+
<td id='maksym-grebenets'>
|
|
81
|
+
<a href='https://github.com/mgrebenets'>
|
|
82
|
+
<img src='https://github.com/mgrebenets.png?size=140'>
|
|
63
83
|
</a>
|
|
64
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
84
|
+
<h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
|
|
85
|
+
</td>
|
|
86
|
+
<td id='kohki-miki'>
|
|
87
|
+
<a href='https://github.com/giginet'>
|
|
88
|
+
<img src='https://github.com/giginet.png?size=140'>
|
|
89
|
+
</a>
|
|
90
|
+
<h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
|
|
65
91
|
</td>
|
|
66
|
-
</tr>
|
|
67
|
-
<tr>
|
|
68
92
|
<td id='iulian-onofrei'>
|
|
69
93
|
<a href='https://github.com/revolter'>
|
|
70
94
|
<img src='https://github.com/revolter.png?size=140'>
|
|
71
95
|
</a>
|
|
72
96
|
<h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
|
|
73
97
|
</td>
|
|
74
|
-
|
|
75
|
-
<
|
|
76
|
-
<
|
|
98
|
+
</tr>
|
|
99
|
+
<tr>
|
|
100
|
+
<td id='felix-krause'>
|
|
101
|
+
<a href='https://github.com/KrauseFx'>
|
|
102
|
+
<img src='https://github.com/KrauseFx.png?size=140'>
|
|
77
103
|
</a>
|
|
78
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
104
|
+
<h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
|
|
105
|
+
</td>
|
|
106
|
+
<td id='helmut-januschka'>
|
|
107
|
+
<a href='https://github.com/hjanuschka'>
|
|
108
|
+
<img src='https://github.com/hjanuschka.png?size=140'>
|
|
109
|
+
</a>
|
|
110
|
+
<h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
|
|
79
111
|
</td>
|
|
80
112
|
<td id='josh-holtz'>
|
|
81
113
|
<a href='https://github.com/joshdholtz'>
|
|
@@ -83,25 +115,11 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
|
|
|
83
115
|
</a>
|
|
84
116
|
<h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
|
|
85
117
|
</td>
|
|
86
|
-
<td id='
|
|
87
|
-
<a href='https://github.com/
|
|
88
|
-
<img src='https://github.com/
|
|
89
|
-
</a>
|
|
90
|
-
<h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
|
|
91
|
-
</td>
|
|
92
|
-
<td id='danielle-tomlinson'>
|
|
93
|
-
<a href='https://github.com/DanToml'>
|
|
94
|
-
<img src='https://github.com/DanToml.png?size=140'>
|
|
95
|
-
</a>
|
|
96
|
-
<h4 align='center'><a href='https://twitter.com/DanToml'>Danielle Tomlinson</a></h4>
|
|
97
|
-
</td>
|
|
98
|
-
</tr>
|
|
99
|
-
<tr>
|
|
100
|
-
<td id='jimmy-dee'>
|
|
101
|
-
<a href='https://github.com/jdee'>
|
|
102
|
-
<img src='https://github.com/jdee.png?size=140'>
|
|
118
|
+
<td id='joshua-liebowitz'>
|
|
119
|
+
<a href='https://github.com/taquitos'>
|
|
120
|
+
<img src='https://github.com/taquitos.png?size=140'>
|
|
103
121
|
</a>
|
|
104
|
-
<h4 align='center'>
|
|
122
|
+
<h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
|
|
105
123
|
</td>
|
|
106
124
|
<td id='stefan-natchev'>
|
|
107
125
|
<a href='https://github.com/snatchev'>
|
|
@@ -109,55 +127,37 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
|
|
|
109
127
|
</a>
|
|
110
128
|
<h4 align='center'><a href='https://twitter.com/snatchev'>Stefan Natchev</a></h4>
|
|
111
129
|
</td>
|
|
130
|
+
</tr>
|
|
131
|
+
<tr>
|
|
112
132
|
<td id='luka-mirosevic'>
|
|
113
133
|
<a href='https://github.com/lmirosevic'>
|
|
114
134
|
<img src='https://github.com/lmirosevic.png?size=140'>
|
|
115
135
|
</a>
|
|
116
136
|
<h4 align='center'><a href='https://twitter.com/lmirosevic'>Luka Mirosevic</a></h4>
|
|
117
137
|
</td>
|
|
118
|
-
<td id='
|
|
119
|
-
<a href='https://github.com/
|
|
120
|
-
<img src='https://github.com/
|
|
121
|
-
</a>
|
|
122
|
-
<h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
|
|
123
|
-
</td>
|
|
124
|
-
<td id='felix-krause'>
|
|
125
|
-
<a href='https://github.com/KrauseFx'>
|
|
126
|
-
<img src='https://github.com/KrauseFx.png?size=140'>
|
|
127
|
-
</a>
|
|
128
|
-
<h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
|
|
129
|
-
</td>
|
|
130
|
-
</tr>
|
|
131
|
-
<tr>
|
|
132
|
-
<td id='aaron-brager'>
|
|
133
|
-
<a href='https://github.com/getaaron'>
|
|
134
|
-
<img src='https://github.com/getaaron.png?size=140'>
|
|
135
|
-
</a>
|
|
136
|
-
<h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
|
|
137
|
-
</td>
|
|
138
|
-
<td id='jérôme-lacoste'>
|
|
139
|
-
<a href='https://github.com/lacostej'>
|
|
140
|
-
<img src='https://github.com/lacostej.png?size=140'>
|
|
138
|
+
<td id='manu-wallner'>
|
|
139
|
+
<a href='https://github.com/milch'>
|
|
140
|
+
<img src='https://github.com/milch.png?size=140'>
|
|
141
141
|
</a>
|
|
142
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
142
|
+
<h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
|
|
143
143
|
</td>
|
|
144
|
-
<td id='
|
|
145
|
-
<a href='https://github.com/
|
|
146
|
-
<img src='https://github.com/
|
|
144
|
+
<td id='fumiya-nakamura'>
|
|
145
|
+
<a href='https://github.com/nafu'>
|
|
146
|
+
<img src='https://github.com/nafu.png?size=140'>
|
|
147
147
|
</a>
|
|
148
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
148
|
+
<h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
|
|
149
149
|
</td>
|
|
150
|
-
<td id='
|
|
151
|
-
<a href='https://github.com/
|
|
152
|
-
<img src='https://github.com/
|
|
150
|
+
<td id='andrew-mcburney'>
|
|
151
|
+
<a href='https://github.com/armcburney'>
|
|
152
|
+
<img src='https://github.com/armcburney.png?size=140'>
|
|
153
153
|
</a>
|
|
154
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
154
|
+
<h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
|
|
155
155
|
</td>
|
|
156
|
-
<td id='
|
|
157
|
-
<a href='https://github.com/
|
|
158
|
-
<img src='https://github.com/
|
|
156
|
+
<td id='jan-piotrowski'>
|
|
157
|
+
<a href='https://github.com/janpio'>
|
|
158
|
+
<img src='https://github.com/janpio.png?size=140'>
|
|
159
159
|
</a>
|
|
160
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
160
|
+
<h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
|
|
161
161
|
</td>
|
|
162
162
|
</tr>
|
|
163
163
|
</table>
|
|
@@ -11,20 +11,20 @@ module Fastlane
|
|
|
11
11
|
escaped_password = params[:password].shellescape
|
|
12
12
|
|
|
13
13
|
if params[:name]
|
|
14
|
-
|
|
14
|
+
escaped_name = params[:name].shellescape
|
|
15
|
+
keychain_path = "~/Library/Keychains/#{escaped_name}"
|
|
15
16
|
else
|
|
16
|
-
keychain_path = params[:path]
|
|
17
|
+
keychain_path = params[:path].shellescape
|
|
17
18
|
end
|
|
18
|
-
escaped_keychain_path = keychain_path.shellescape
|
|
19
19
|
|
|
20
|
-
if
|
|
20
|
+
if keychain_path.nil?
|
|
21
21
|
UI.user_error!("You either have to set :name or :path")
|
|
22
22
|
end
|
|
23
23
|
|
|
24
24
|
commands = []
|
|
25
25
|
|
|
26
|
-
if !exists?(
|
|
27
|
-
commands << Fastlane::Actions.sh("security create-keychain -p #{escaped_password} #{
|
|
26
|
+
if !exists?(keychain_path)
|
|
27
|
+
commands << Fastlane::Actions.sh("security create-keychain -p #{escaped_password} #{keychain_path}", log: false)
|
|
28
28
|
elsif params[:require_create]
|
|
29
29
|
UI.abort_with_message!("`require_create` option passed, but found keychain '#{keychain_path}', failing create_keychain action")
|
|
30
30
|
else
|
|
@@ -38,22 +38,21 @@ module Fastlane
|
|
|
38
38
|
Actions.lane_context[Actions::SharedValues::ORIGINAL_DEFAULT_KEYCHAIN] = Fastlane::Actions.sh("security default-keychain", log: false).strip
|
|
39
39
|
rescue
|
|
40
40
|
end
|
|
41
|
-
commands << Fastlane::Actions.sh("security default-keychain -s #{
|
|
41
|
+
commands << Fastlane::Actions.sh("security default-keychain -s #{keychain_path}", log: false)
|
|
42
42
|
end
|
|
43
43
|
|
|
44
|
-
commands << Fastlane::Actions.sh("security unlock-keychain -p #{escaped_password} #{
|
|
44
|
+
commands << Fastlane::Actions.sh("security unlock-keychain -p #{escaped_password} #{keychain_path}", log: false) if params[:unlock]
|
|
45
45
|
|
|
46
46
|
command = "security set-keychain-settings"
|
|
47
47
|
command << " -t #{params[:timeout]}" if params[:timeout]
|
|
48
48
|
command << " -l" if params[:lock_when_sleeps]
|
|
49
49
|
command << " -u" if params[:lock_after_timeout]
|
|
50
|
-
command << " #{
|
|
50
|
+
command << " #{keychain_path}"
|
|
51
51
|
|
|
52
52
|
commands << Fastlane::Actions.sh(command, log: false)
|
|
53
53
|
|
|
54
54
|
if params[:add_to_search_list]
|
|
55
55
|
keychains = Action.sh("security list-keychains -d user").shellsplit
|
|
56
|
-
# Do not use 'escaped_keychain_path' here because .shelljoin will cause double escaping
|
|
57
56
|
keychains << File.expand_path(keychain_path)
|
|
58
57
|
commands << Fastlane::Actions.sh("security list-keychains -s #{keychains.shelljoin}", log: false)
|
|
59
58
|
end
|
|
@@ -61,12 +60,12 @@ module Fastlane
|
|
|
61
60
|
commands
|
|
62
61
|
end
|
|
63
62
|
|
|
64
|
-
def self.exists?(
|
|
65
|
-
|
|
63
|
+
def self.exists?(keychain_path)
|
|
64
|
+
keychain_path = File.expand_path(keychain_path)
|
|
66
65
|
|
|
67
66
|
# Creating Keychains using the security
|
|
68
67
|
# CLI appends `-db` to the file name.
|
|
69
|
-
File.exist?("#{
|
|
68
|
+
File.exist?("#{keychain_path}-db") || File.exist?(keychain_path)
|
|
70
69
|
end
|
|
71
70
|
|
|
72
71
|
def self.description
|
|
@@ -6,7 +6,7 @@ module FastlaneCore
|
|
|
6
6
|
def self.import_file(path, keychain_path, keychain_password: "", certificate_password: "", output: FastlaneCore::Globals.verbose?)
|
|
7
7
|
UI.user_error!("Could not find file '#{path}'") unless File.exist?(path)
|
|
8
8
|
|
|
9
|
-
command = "security import #{path.shellescape} -k #{keychain_path.shellescape}"
|
|
9
|
+
command = "security import #{path.shellescape} -k '#{keychain_path.shellescape}'"
|
|
10
10
|
command << " -P #{certificate_password.shellescape}"
|
|
11
11
|
command << " -T /usr/bin/codesign" # to not be asked for permission when running a tool like `gym` (before Sierra)
|
|
12
12
|
command << " -T /usr/bin/security"
|
metadata
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fastlane
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.118.
|
|
4
|
+
version: 2.118.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
7
|
+
- Iulian Onofrei
|
|
8
|
+
- Josh Holtz
|
|
9
|
+
- Jorge Revuelta H
|
|
10
|
+
- Luka Mirosevic
|
|
11
|
+
- Stefan Natchev
|
|
12
|
+
- Aaron Brager
|
|
10
13
|
- Jimmy Dee
|
|
11
|
-
- Helmut Januschka
|
|
12
14
|
- Manu Wallner
|
|
13
|
-
- Iulian Onofrei
|
|
14
15
|
- Kohki Miki
|
|
15
|
-
-
|
|
16
|
-
-
|
|
17
|
-
- Danielle Tomlinson
|
|
18
|
-
- Aaron Brager
|
|
16
|
+
- Fumiya Nakamura
|
|
17
|
+
- Felix Krause
|
|
19
18
|
- Andrew McBurney
|
|
20
19
|
- Joshua Liebowitz
|
|
21
|
-
-
|
|
22
|
-
-
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
-
|
|
20
|
+
- Maksym Grebenets
|
|
21
|
+
- Jérôme Lacoste
|
|
22
|
+
- Olivier Halligon
|
|
23
|
+
- Matthew Ellis
|
|
24
|
+
- Jan Piotrowski
|
|
25
|
+
- Danielle Tomlinson
|
|
26
|
+
- Helmut Januschka
|
|
27
27
|
autorequire:
|
|
28
28
|
bindir: bin
|
|
29
29
|
cert_chain: []
|