fastlane-plugin-match_keystore 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46a421823a54191491c99165bfb40ca29e0232b57bac26bbaa28d6a2cec3176c
|
4
|
+
data.tar.gz: bad930d84f304fea0eb753cd67ea2e02085fd66ea4047f85f3e87bed626c11e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d48f56c4ee2ad3464c0b6d79dc72f7a66e065a5640d8db95d3b93afcff253728f223421c1e91d9e00c4868ba48107fc8f42fbcb4f87c10b6c4da5933142f1341
|
7
|
+
data.tar.gz: e0369425848c3284c7fa3901f810dd5ec7a6fd33ce73ce8277d46669a19c1e5c1017aa218dfd04f594c897bf70b95f2d8fd16282a298396673872a00a27d47fb
|
@@ -127,6 +127,7 @@ module Fastlane
|
|
127
127
|
package_name = params[:package_name]
|
128
128
|
apk_path = params[:apk_path]
|
129
129
|
existing_keystore = params[:existing_keystore]
|
130
|
+
ci_password = params[:ci_password]
|
130
131
|
override_keystore = params[:override_keystore]
|
131
132
|
|
132
133
|
keystore_name = 'keystore.jks'
|
@@ -148,7 +149,11 @@ module Fastlane
|
|
148
149
|
|
149
150
|
key_path = dir_name + '/key.hex'
|
150
151
|
if !File.file?(key_path)
|
151
|
-
|
152
|
+
if ci_password.to_s.strip.empty?
|
153
|
+
security_password = other_action.prompt(text: "Security password: ")
|
154
|
+
else
|
155
|
+
security_password = ci_password
|
156
|
+
end
|
152
157
|
self.gen_key(key_path, security_password)
|
153
158
|
end
|
154
159
|
|
@@ -175,7 +180,7 @@ module Fastlane
|
|
175
180
|
properties_encrypt_path = keystoreAppDir + '/' + properties_encrypt_name
|
176
181
|
|
177
182
|
# Create keystore with command
|
178
|
-
override_keystore = File.file?(existing_keystore)
|
183
|
+
override_keystore = !existing_keystore.to_s.strip.empty? && File.file?(existing_keystore)
|
179
184
|
if !File.file?(keystore_path) || override_keystore
|
180
185
|
|
181
186
|
if File.file?(keystore_path)
|
@@ -324,6 +329,11 @@ module Fastlane
|
|
324
329
|
description: "Path of the APK file to sign",
|
325
330
|
optional: false,
|
326
331
|
type: String),
|
332
|
+
FastlaneCore::ConfigItem.new(key: :ci_password,
|
333
|
+
env_name: "MATCH_KEYSTORE_CI_PASSWORD",
|
334
|
+
description: "Password to decrypt keystore.properties file (CI)",
|
335
|
+
optional: true,
|
336
|
+
type: String),
|
327
337
|
FastlaneCore::ConfigItem.new(key: :existing_keystore,
|
328
338
|
env_name: "MATCH_KEYSTORE_EXISTING",
|
329
339
|
description: "Path of an existing Keystore",
|