fastlane-plugin-huawei_appgallery_connect 1.0.22 → 1.0.24
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: 934901c3b617cc4ed08c4e497dee4d06a81e1b13c49aa5f9adff8d9d8ad4e198
|
4
|
+
data.tar.gz: 19df33596ab5124b39cf11e1d2ea340760e2557331e5ade092c4e20fbff82224
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d44df0797efd909411e74dbeff7c84767e2c302f8115b1af9220905714675d8b38b441f4ccc8bad0e936ca24db399379003ac9a7153d661c4a31ebf99da6520
|
7
|
+
data.tar.gz: 02b46deaf235627ad9e746417a62130a5a5d2b223912f6f42f0e0377fc94170b1759e2444b6eca2968f5b867638a8a3cf436766c9b01b95fda0090792d77d8c9
|
data/lib/fastlane/plugin/huawei_appgallery_connect/helper/huawei_appgallery_connect_helper.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'fastlane_core/ui/ui'
|
2
|
+
require 'CGI'
|
2
3
|
|
3
4
|
module Fastlane
|
4
5
|
UI = FastlaneCore::UI unless Fastlane.const_defined?("UI")
|
@@ -184,7 +185,6 @@ module Fastlane
|
|
184
185
|
|
185
186
|
def self.query_aab_compilation_status(token,params, pkgVersion)
|
186
187
|
UI.important("Checking aab compilation status")
|
187
|
-
|
188
188
|
uri = URI.parse("https://connect-api.cloud.huawei.com/api/publish/v2/aab/complile/status?appId=#{params[:app_id]}&pkgIds=#{pkgVersion}")
|
189
189
|
|
190
190
|
http = Net::HTTP.new(uri.host, uri.port)
|
@@ -203,7 +203,7 @@ module Fastlane
|
|
203
203
|
result_json = JSON.parse(response.body)
|
204
204
|
|
205
205
|
if result_json['ret']['code'] == 0
|
206
|
-
return result_json['aabCompileStatus']
|
206
|
+
return result_json['pkgStateList'][0]['aabCompileStatus']
|
207
207
|
else
|
208
208
|
UI.user_error!(result_json)
|
209
209
|
return -999
|
@@ -229,7 +229,7 @@ module Fastlane
|
|
229
229
|
end
|
230
230
|
|
231
231
|
if params[:release_time] != nil
|
232
|
-
params[:release_time] =
|
232
|
+
params[:release_time] = CGI.escape(params[:release_time])
|
233
233
|
release_time = "&releaseTime=#{params[:release_time]}"
|
234
234
|
end
|
235
235
|
|
@@ -242,7 +242,7 @@ module Fastlane
|
|
242
242
|
UI.user_error!("Failed to submit app for review. Changelog file length is invalid")
|
243
243
|
return
|
244
244
|
else
|
245
|
-
changelog = "&remark=" +
|
245
|
+
changelog = "&remark=" + CGI.escape(changelog_data)
|
246
246
|
end
|
247
247
|
end
|
248
248
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-huawei_appgallery_connect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.24
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shreejan Shrestha
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|