fastlane-plugin-huawei_appgallery 0.1.0 → 0.1.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: c9bf208e5687db71d1a23e0685fd487121118d9abcece8c5c52eb2fc17d18c3a
|
4
|
+
data.tar.gz: 021d724d17b3f8ddcc11e44179851aa695ce8926ab6d045ad4a174b7491f3868
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbcd2452e9d6f98d021771cc9ebc4f4b2dcd15f4519f002f0c8f15bea2f5bc34970900396c6b68bd7537049366dde9aecdacb647f2d73ae90af17392069e9895
|
7
|
+
data.tar.gz: 5962ed3c37e237da78ea18f1f05bbcf383235e42446fc09a0e26a93754edfe810a4522a95bffeae2e14052230befed50a3b43c735e57afc5f890f82efa5f5488
|
@@ -76,7 +76,7 @@ module Fastlane
|
|
76
76
|
|
77
77
|
# obtain upload url
|
78
78
|
UI.message("Obtaining upload url ...")
|
79
|
-
uri = URI("https://connect-api.cloud.huawei.com/api/publish/v1/uploadUrl?suffix=apk")
|
79
|
+
uri = URI("https://connect-api.cloud.huawei.com/api/publish/v1/uploadUrl?suffix=apk&appId=#{app_id}")
|
80
80
|
http = Net::HTTP.new(uri.host, uri.port)
|
81
81
|
http.use_ssl = true
|
82
82
|
request = Net::HTTP::Get.new(uri)
|
@@ -87,7 +87,7 @@ module Fastlane
|
|
87
87
|
upload_url = result_json['uploadUrl'] # this is the upload server
|
88
88
|
auth_code = result_json['authCode']
|
89
89
|
if result.code.to_i != 200 || upload_url.nil? || auth_code.nil?
|
90
|
-
UI.user_error!("Cannot obtain upload url!")
|
90
|
+
UI.user_error!("Cannot obtain upload url! Result: #{result_json}")
|
91
91
|
end
|
92
92
|
|
93
93
|
# upload apk
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-huawei_appgallery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arne Kaiser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-08
|
11
|
+
date: 2019-10-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|