fastlane-plugin-firebase_app_distribution 0.2.7 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fastlane/plugin/firebase_app_distribution/actions/firebase_app_distribution_action.rb +0 -5
- data/lib/fastlane/plugin/firebase_app_distribution/client/firebase_app_distribution_api_client.rb +4 -5
- data/lib/fastlane/plugin/firebase_app_distribution/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5690358deeb4e414dbfa9de99dd70aec8eb3a58ef77ebb03a9617ffdfb38c38
|
4
|
+
data.tar.gz: aa55223435954d0a72a283434ec9ee045bf4b7eb28f3a1f6584b20d1a8723bb7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c01a0eb7cb2bca6727529de5a056f936e846438b379b218ca545febb649c0136a9a67c1ed54c36cd386ec06247bb8c3dc88dc812478e5a7ebf0fdde1dbc09dcf
|
7
|
+
data.tar.gz: 7fca01eadddd637a2b7252100a9187c289930d186ed95aef0bb769f9f19da77bf2588989d779d3b3103b4b869ee09db0e424f3aca8052684cb16ce5989ca04f6
|
data/lib/fastlane/plugin/firebase_app_distribution/actions/firebase_app_distribution_action.rb
CHANGED
@@ -8,7 +8,6 @@ require_relative '../helper/firebase_app_distribution_error_message'
|
|
8
8
|
require_relative '../client/firebase_app_distribution_api_client'
|
9
9
|
require_relative '../helper/firebase_app_distribution_auth_client'
|
10
10
|
|
11
|
-
## TODO: should always use a file underneath? I think so.
|
12
11
|
## How should we document the usage of release notes?
|
13
12
|
module Fastlane
|
14
13
|
module Actions
|
@@ -34,11 +33,7 @@ module Fastlane
|
|
34
33
|
app_view = binary_type == :AAB ? 'FULL' : 'BASIC'
|
35
34
|
app = fad_api_client.get_app(app_id, app_view)
|
36
35
|
validate_app!(app, binary_type)
|
37
|
-
|
38
36
|
release_id = fad_api_client.upload(app.project_number, app_id, binary_path, platform.to_s)
|
39
|
-
if release_id.nil?
|
40
|
-
return
|
41
|
-
end
|
42
37
|
|
43
38
|
if binary_type == :AAB && app.aab_certificate.empty?
|
44
39
|
updated_app = fad_api_client.get_app(app_id)
|
data/lib/fastlane/plugin/firebase_app_distribution/client/firebase_app_distribution_api_client.rb
CHANGED
@@ -127,10 +127,10 @@ module Fastlane
|
|
127
127
|
# app_id - Firebase app ID
|
128
128
|
# binary_path - Absolute path to your app's aab/apk/ipa file
|
129
129
|
#
|
130
|
-
# Returns the release_id
|
130
|
+
# Returns the release_id of the uploaded release.
|
131
131
|
#
|
132
|
-
#
|
133
|
-
#
|
132
|
+
# Crashes if the number of polling retries exceeds MAX_POLLING_RETRIES or if the binary cannot
|
133
|
+
# be uploaded.
|
134
134
|
def upload(project_number, app_id, binary_path, platform)
|
135
135
|
binary_type = binary_type_from_path(binary_path)
|
136
136
|
|
@@ -159,8 +159,7 @@ module Fastlane
|
|
159
159
|
end
|
160
160
|
end
|
161
161
|
unless upload_status_response.success?
|
162
|
-
UI.
|
163
|
-
return nil
|
162
|
+
UI.crash!("It took longer than expected to process your #{binary_type}, please try again.")
|
164
163
|
end
|
165
164
|
end
|
166
165
|
upload_status_response.release_id
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-firebase_app_distribution
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefan Natchev
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-
|
13
|
+
date: 2021-05-11 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: pry
|