fastlane-plugin-fivethree_ionic 0.2.4 → 0.2.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: 693fd23e5ec71de6cbc4bc1894b9d8043f2f51cac68aec63fd3f0fcb1077167e
|
4
|
+
data.tar.gz: 54c726b7df6b4822cb28a46c81816dd8b052469124fa8195c4374f7629a41057
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 124895f7a87d669781ff5b9fb0058ebcfe24a8633829027414aa0fb4cce9724755de1dcef8c36736dd7684bb392f4a8c7c5b9da40e45eb458c2d6c76f0ee185e
|
7
|
+
data.tar.gz: c3957732d27353082876d74d07666ee1eef89e62c6be3c69cefa57488d168917532e279c44792e4e9f7f453e070cb53c24f6e0251a33497eeb850e3427cf199e
|
@@ -4,16 +4,17 @@ module Fastlane
|
|
4
4
|
def self.run(params)
|
5
5
|
Dir.chdir "#{params[:clients_folder]}" do
|
6
6
|
clients_folders = Dir.glob('*').sort.select {|f| File.directory? f}
|
7
|
-
|
8
|
-
|
7
|
+
client = ENV["CLIENT"] || params[:client]
|
8
|
+
if (client)
|
9
|
+
if (clients_folders.include?(client))
|
9
10
|
puts("
|
10
11
|
***********************************************
|
11
|
-
Selected client: #{
|
12
|
+
Selected client: #{client}
|
12
13
|
***********************************************
|
13
14
|
")
|
14
|
-
return
|
15
|
+
return client
|
15
16
|
else
|
16
|
-
UI.user_error!("Client #{
|
17
|
+
UI.user_error!("Client #{client} is not available.")
|
17
18
|
end
|
18
19
|
end
|
19
20
|
|
@@ -43,7 +44,12 @@ module Fastlane
|
|
43
44
|
verify_block: proc do |value|
|
44
45
|
UI.user_error!("No client folder path for SelectClientAction given, pass using `client_folder: '../path_to_clients_folder'`") unless (value and not value.empty?)
|
45
46
|
UI.user_error!("Couldn't find clients folder at path '#{value}'") unless File.directory?(value)
|
46
|
-
end)
|
47
|
+
end),
|
48
|
+
FastlaneCore::ConfigItem.new(
|
49
|
+
key: : client,
|
50
|
+
env_name: "FIV_CLIENT", # The name of the environment variable
|
51
|
+
description: "client to select", # a short description of this parameter",
|
52
|
+
is_string: true)
|
47
53
|
]
|
48
54
|
end
|
49
55
|
|