fastlane-plugin-huawei_appgallery_connect 1.0.6 → 1.0.7

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: b6f398ea6efa63723dd321360132b68c1a120b47ef13ed83ad93af2d3c94cc4b
4
- data.tar.gz: d6bf21ea4de080bd5484f4ee06bd26279be483c15b4308bf5b30a75c47e1f634
3
+ metadata.gz: 58302bbcf0fb6a8711345cf3a1498335a6c0a8a18dea0e4e34b9d0ae74383e5e
4
+ data.tar.gz: 1e60d771e423f877d9015275bcd4d4fdfe54f32bb80c5b116ccbe29cd1e8361a
5
5
  SHA512:
6
- metadata.gz: 6071a5b8ba6c6172b644c38fc90e910e3338172299d7df581d0367e579724e9bd875b6a4307c6a72f13688e67485b902e3a49852061bbe3b659a3eaceaa51dfe
7
- data.tar.gz: 4448629f51054b2edabb54465f8f7da46e228a8d40efb881c384fa348b444770f993a932104f890070f1e937f486d12462ec78551b4c3fbff50fe1b38f5048e1
6
+ metadata.gz: a66c42655b6fd63deadb0cc51645a7fdd76d366fcea290b3113fc8025160b045bb943df30c2aa91c43afc902b884e1b9d9603676693fcbfc51bb4e1e04884b59
7
+ data.tar.gz: 27f55e5c0c33a0c8ccc3064c0e0e78c3b61b07e79f415989b04c1357143892c382c7c140af6f80ba89cfb67012e1ec974d006d741823f3c76e935d2146b51a89
@@ -215,6 +215,11 @@ module Fastlane
215
215
 
216
216
  response = http.request(request)
217
217
 
218
+ if !response.kind_of? Net::HTTPSuccess
219
+ UI.user_error!("Cannot submit app for review (status code: #{response.code}, body: #{response.body})")
220
+ return false
221
+ end
222
+
218
223
  result_json = JSON.parse(response.body)
219
224
 
220
225
  if result_json['ret']['code'] == 0
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module HuaweiAppgalleryConnect
3
- VERSION = "1.0.6"
3
+ VERSION = "1.0.7"
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_connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shreejan Shrestha
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-02 00:00:00.000000000 Z
11
+ date: 2020-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry