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: 814eeb8cd0cb8757080358a1015311e60b495356acec1e42c7f89a0f19fa03c1
4
- data.tar.gz: e4228b3f43c4fbcd648428b79fdd0b7ba776a2411474e37c36ebc9ad236e849f
3
+ metadata.gz: c9bf208e5687db71d1a23e0685fd487121118d9abcece8c5c52eb2fc17d18c3a
4
+ data.tar.gz: 021d724d17b3f8ddcc11e44179851aa695ce8926ab6d045ad4a174b7491f3868
5
5
  SHA512:
6
- metadata.gz: c9649220e125e2b92562640e9c79dc7ec3596052fc18c11f9fd5f8e2134d57996e92dc811c6f59817771a4edaa4c7d787de9676e9f6da942c10769fe6a5bcb1d
7
- data.tar.gz: 870cccb67d99ec822447dbe7a6ef1c2a8d27b15c1e6ab850c5908b98edcbb4ecc8fc07babfac8042a0483c73eb6452b1133e1d3d4e730e5110c0d4423ce9214a
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
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module HuaweiAppgallery
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
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.0
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-15 00:00:00.000000000 Z
11
+ date: 2019-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry