fastlane-plugin-huawei_appgallery_connect 1.0.23 → 1.0.25
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: 0c1648d57d535a4b84c5a8fc0e3d600ce3a6990e9fc7f211f42394b41dc60cb1
|
4
|
+
data.tar.gz: 7324e62d72a0c59b6649c86c53d5f06f0db0d014761107640adc0fd055b56a1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea99f30575f23b2694f045aa8d0b988f24eec2d7e79c4224ccdc5bbedf894ca05fb68b660b61bc0699d81024141258e4ce0477110778f62d582c957d7d26526c
|
7
|
+
data.tar.gz: 93a91841691905cea1740ddc1ea709705cc15be9ab70b3628108478a1ac09d02723b8d0230dc3fbb3dedf06939b936454c5ee222db1f20dc8a050182be9ae393
|
data/README.md
CHANGED
@@ -58,7 +58,6 @@ huawei_appgallery_connect_submit_for_review(
|
|
58
58
|
client_secret: "<CLIENT_SECRET>",
|
59
59
|
app_id: "<APP_ID>",
|
60
60
|
|
61
|
-
|
62
61
|
# Optional, Parameter beyond this are optional
|
63
62
|
|
64
63
|
# release time to release app on specific date
|
@@ -80,5 +79,34 @@ huawei_appgallery_connect_get_app_info(
|
|
80
79
|
client_secret: "<CLIENT_SECRET>",
|
81
80
|
app_id: "<APP_ID>"
|
82
81
|
)
|
82
|
+
```
|
83
|
+
|
84
|
+
To update the app's metadata like release notes, app name, brief info and app description you can make use of the following action
|
83
85
|
|
84
86
|
```
|
87
|
+
huawei_appgallery_connect_update_app_localization(
|
88
|
+
client_id: "<CLIENT_ID>",
|
89
|
+
client_secret: "<CLIENT_SECRET>",
|
90
|
+
app_id: "<APP_ID>",
|
91
|
+
metadata_path: "<METADATA PATH>" # defaults to fastlane/metadata/huawei
|
92
|
+
)
|
93
|
+
```
|
94
|
+
|
95
|
+
Your folder structure for applying multiple languages for the metadata should look like this:
|
96
|
+
|
97
|
+
```
|
98
|
+
└── fastlane
|
99
|
+
└── metadata
|
100
|
+
└── huawei
|
101
|
+
├── en-US
|
102
|
+
│ ├── app_name.txt
|
103
|
+
│ └── app_description.txt
|
104
|
+
│ └── introduction.txt
|
105
|
+
│ └── release_notes.txt
|
106
|
+
└── fr-FR
|
107
|
+
├── app_name.txt
|
108
|
+
└── app_description.txt
|
109
|
+
└── introduction.txt
|
110
|
+
└── release_notes.txt
|
111
|
+
```
|
112
|
+
|
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")
|
@@ -228,7 +229,7 @@ module Fastlane
|
|
228
229
|
end
|
229
230
|
|
230
231
|
if params[:release_time] != nil
|
231
|
-
params[:release_time] =
|
232
|
+
params[:release_time] = CGI.escape(params[:release_time])
|
232
233
|
release_time = "&releaseTime=#{params[:release_time]}"
|
233
234
|
end
|
234
235
|
|
@@ -241,7 +242,7 @@ module Fastlane
|
|
241
242
|
UI.user_error!("Failed to submit app for review. Changelog file length is invalid")
|
242
243
|
return
|
243
244
|
else
|
244
|
-
changelog = "&remark=" +
|
245
|
+
changelog = "&remark=" + CGI.escape(changelog_data)
|
245
246
|
end
|
246
247
|
end
|
247
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.25
|
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-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|
@@ -136,6 +136,20 @@ dependencies:
|
|
136
136
|
- - ">="
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: 2.137.0
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: cgi
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
139
153
|
description:
|
140
154
|
email: shr3jn@gmail.com
|
141
155
|
executables: []
|