fastlane-plugin-fir_cli 2.0.15 → 2.0.15.1
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: a55bf584cbce8bf81f80a91bf7e8a84748493290193c14947f5a574767f23a53
|
4
|
+
data.tar.gz: 97a9b161af75217e1ca816a9b47fcf1f14dbb495273a95c83110c023f365d4ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa85cc69f656e207899015a76da6d955e3a18e1b15e9fd1cda88001ba1fb40d8d3a77b6ce7387e5b69d70de78f5f0e01f7d18cbbfc14b22a8234ac5a2d940e2e
|
7
|
+
data.tar.gz: 20719bc231f8e88327fbb42d0c117404c1d29c11c58bb9a4de1320a740832bb6813fecd9b63a3154b7bbb5d9a4c450df3e1dd73ddcabfbd304e7402005e31ad7
|
@@ -1,12 +1,11 @@
|
|
1
|
-
require
|
2
|
-
require
|
1
|
+
require "fastlane/action"
|
2
|
+
require "fir"
|
3
3
|
# require 'byebug'
|
4
|
-
require_relative
|
4
|
+
require_relative "../helper/fir_cli_helper"
|
5
5
|
|
6
6
|
module Fastlane
|
7
7
|
module Actions
|
8
8
|
class FirCliAction < Action
|
9
|
-
|
10
9
|
def self.run(params)
|
11
10
|
UI.message("The fir_cli plugin is working!")
|
12
11
|
|
@@ -37,9 +36,9 @@ module Fastlane
|
|
37
36
|
|
38
37
|
wxwork_access_token: params[:wxwork_access_token],
|
39
38
|
wxwork_custom_message: params[:wxwork_custom_message],
|
40
|
-
wxwork_pic_url: params[:wxwork_pic_url]
|
39
|
+
wxwork_pic_url: params[:wxwork_pic_url],
|
41
40
|
|
42
|
-
}.reject {|_k, v| v.nil?}
|
41
|
+
}.reject { |_k, v| v.nil? }
|
43
42
|
answer = Helper::FirHelper.publish(fir_args, options)
|
44
43
|
UI.message("fastlane-plugin-fir_cli answer: #{answer}")
|
45
44
|
answer
|
@@ -140,49 +139,48 @@ module Fastlane
|
|
140
139
|
description: "dingtalk custom message",
|
141
140
|
optional: true),
|
142
141
|
FastlaneCore::ConfigItem.new(key: :dingtalk_at_phones,
|
143
|
-
|
144
|
-
|
145
|
-
|
142
|
+
env_name: "FIR_DINGTALK_AT_PHONES",
|
143
|
+
description: "dingtalk at phones, split with ','",
|
144
|
+
optional: true),
|
146
145
|
FastlaneCore::ConfigItem.new(key: :dingtalk_at_all,
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
146
|
+
env_name: "FIR_DINGTALK_AT_ALL",
|
147
|
+
description: "dingtalk at all people",
|
148
|
+
type: Boolean,
|
149
|
+
optional: true),
|
151
150
|
|
152
151
|
FastlaneCore::ConfigItem.new(key: :dingtalk_secret,
|
153
|
-
|
154
|
-
|
155
|
-
|
152
|
+
env_name: "FIR_DINGTALK_SECRET",
|
153
|
+
description: "Dingtalk secret code (eg: SECxxxxx)",
|
154
|
+
optional: true),
|
156
155
|
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
optional: true),
|
156
|
+
FastlaneCore::ConfigItem.new(key: :oversea_turbo,
|
157
|
+
env_name: "FIR_OVERSEA_TURBO",
|
158
|
+
description: "fir oversea turbo, increase upload speed for oversea users",
|
159
|
+
type: Boolean,
|
160
|
+
optional: true),
|
163
161
|
|
164
162
|
FastlaneCore::ConfigItem.new(key: :feishu_access_token,
|
165
|
-
|
166
|
-
|
167
|
-
|
163
|
+
env_name: "FIR_FEISHU_ACCESS_TOKEN",
|
164
|
+
description: "feishu_access_token",
|
165
|
+
optional: true),
|
168
166
|
FastlaneCore::ConfigItem.new(key: :feishu_custom_message,
|
169
|
-
|
170
|
-
|
171
|
-
|
167
|
+
env_name: "FIR_FEISHU_CUSTOM_MESSAGE",
|
168
|
+
description: "feishu custom message",
|
169
|
+
optional: true),
|
172
170
|
|
173
171
|
FastlaneCore::ConfigItem.new(key: :wxwork_access_token,
|
174
|
-
|
175
|
-
|
176
|
-
|
172
|
+
env_name: "FIR_WXWORK_ACCESS_TOKEN",
|
173
|
+
description: "wechat work webhook access_token",
|
174
|
+
optional: true),
|
177
175
|
|
178
176
|
FastlaneCore::ConfigItem.new(key: :wxwork_pic_url,
|
179
|
-
|
180
|
-
|
181
|
-
|
177
|
+
env_name: "FIR_WXWORK_PIC_URL",
|
178
|
+
description: "wechat work webhook pic url",
|
179
|
+
optional: true),
|
182
180
|
FastlaneCore::ConfigItem.new(key: :wxwork_custom_message,
|
183
|
-
|
184
|
-
|
185
|
-
|
181
|
+
env_name: "FIR_WXWORK_CUSTOM_MESSAGE",
|
182
|
+
description: "wechat work custom message",
|
183
|
+
optional: true),
|
186
184
|
|
187
185
|
]
|
188
186
|
end
|
@@ -199,6 +197,5 @@ module Fastlane
|
|
199
197
|
file_path || Actions.lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH] || Actions.lane_context[SharedValues::IPA_OUTPUT_PATH]
|
200
198
|
end
|
201
199
|
end
|
202
|
-
|
203
200
|
end
|
204
201
|
end
|