fastlane-plugin-pgyer 0.2.3 → 0.2.4
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: 3a46ff250a25edb2b0c6a243916177df1e67006cb01715a0ede6d3f4c8df1654
|
4
|
+
data.tar.gz: 90803824896253a5ba3ba3894da2d65618afaccbe96798a1bcabd2e4a490c650
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bccdcd579d4b9c98d56f913ca5cdb9a55259029f4fd2c389552baf2661ee3d4e47faefe6caf3aff9219d2b550eb8a3648df9b964ac5443ec06c05e5be259b999
|
7
|
+
data.tar.gz: a5635a2e1153743867119f0e7a148dee2e21fc956e3c5dd5ed11c2b5447191745504d5534f5c6c6737ba8725815ecad97a17fbb5409922feaeb8c5451f9737c2
|
@@ -38,6 +38,7 @@ module Fastlane
|
|
38
38
|
"buildInstallType" => install_type,
|
39
39
|
"buildPassword" => password,
|
40
40
|
}
|
41
|
+
request_params["oversea"] = params[:oversea] unless params[:oversea].nil?
|
41
42
|
|
42
43
|
update_description = params[:update_description]
|
43
44
|
|
@@ -98,7 +99,7 @@ module Fastlane
|
|
98
99
|
if key.nil? || endpoint.nil? || request_params.nil?
|
99
100
|
UI.user_error!("Get token is failed")
|
100
101
|
end
|
101
|
-
content_type = type ==
|
102
|
+
content_type = type == "android" ? "application/vnd.android.package-archive" : "application/octet-stream"
|
102
103
|
request_params["file"] = Faraday::UploadIO.new(build_file, content_type)
|
103
104
|
|
104
105
|
UI.message "Start upload #{build_file} to pgyer..."
|
@@ -185,13 +186,20 @@ module Fastlane
|
|
185
186
|
description: "The value is a string of characters, for example, 2018-01-01",
|
186
187
|
optional: true,
|
187
188
|
type: String),
|
189
|
+
|
188
190
|
FastlaneCore::ConfigItem.new(key: :install_end_date,
|
189
191
|
env_name: "PGYER_INSTALL_END_DATE",
|
190
192
|
description: "The value is a string of characters, such as 2018-12-31",
|
191
193
|
optional: true,
|
192
194
|
type: String),
|
195
|
+
|
196
|
+
FastlaneCore::ConfigItem.new(key: :oversea,
|
197
|
+
env_name: "PGYER_OVERSEA",
|
198
|
+
description: "Whether to use overseas acceleration. 1 for overseas accelerated upload, 0 for domestic accelerated upload, not filled in for automatic judgment based on IP",
|
199
|
+
optional: true,
|
200
|
+
type: Numeric),
|
193
201
|
FastlaneCore::ConfigItem.new(key: :channel,
|
194
|
-
env_name: "
|
202
|
+
env_name: "PGYER_SPECIFIED_CHANNEL",
|
195
203
|
description: "Need to update the specified channel of the download short link, can specify only one channel, string type, such as: ABCD",
|
196
204
|
optional: true,
|
197
205
|
type: String),
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-pgyer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- rexshi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|