fastlane-plugin-match_keystore 0.1.7 → 0.1.8
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 49e735f7fda8b92409a84f94a1e826254555ee6b33a9f2333a8891e37fee25a5
|
|
4
|
+
data.tar.gz: 1e8b9230a2e0f0d3f315d1c587e08589ab03308e3570adb8d703b6f84b65fce1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5ce5971aa35734b0ce58746631d107db20833edb7d8d6fa2f1c9ae6a700efce48db7ca36f8ed59800a95ed6fae660001e3ec3477dc06090594ab8dca88d9c30c
|
|
7
|
+
data.tar.gz: aa7171f32c1818427d0b8b8b6fc2f117e78aa7f688c53135099c80c1465762819c906e35f6adf91645f3b81f956c149fd3426c6a722496af199ff8d3b89dd4aa
|
|
@@ -157,6 +157,9 @@ module Fastlane
|
|
|
157
157
|
FileUtils.mkdir_p(dir_name)
|
|
158
158
|
end
|
|
159
159
|
|
|
160
|
+
UI.message("OpenSSL version: ")
|
|
161
|
+
puts `openssl version`
|
|
162
|
+
|
|
160
163
|
key_path = dir_name + '/key.hex'
|
|
161
164
|
if !File.file?(key_path)
|
|
162
165
|
if ci_password.to_s.strip.empty?
|
|
@@ -166,11 +169,14 @@ module Fastlane
|
|
|
166
169
|
end
|
|
167
170
|
UI.message "Generating security key..."
|
|
168
171
|
self.gen_key(key_path, security_password)
|
|
169
|
-
else
|
|
170
|
-
UI.message "Security key already exists"
|
|
171
172
|
end
|
|
173
|
+
|
|
172
174
|
tmpkey = self.get_file_content(key_path).strip
|
|
173
|
-
|
|
175
|
+
if tmpkey.length == 128
|
|
176
|
+
UI.message "Security key initialized"
|
|
177
|
+
else
|
|
178
|
+
raise "The security key format is invalid, or not initialized!"
|
|
179
|
+
end
|
|
174
180
|
|
|
175
181
|
repo_dir = dir_name + '/repo'
|
|
176
182
|
unless File.directory?(repo_dir)
|