fastlane-plugin-firebase_app_distribution 0.3.8 → 0.4.0.pre.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/fastlane/plugin/firebase_app_distribution/actions/firebase_app_distribution_action.rb +14 -1
- data/lib/fastlane/plugin/firebase_app_distribution/client/firebase_app_distribution_api_client.rb +1 -1
- data/lib/fastlane/plugin/firebase_app_distribution/helper/upload_status_response.rb +12 -0
- data/lib/fastlane/plugin/firebase_app_distribution/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ead39ff778cdc9d618dba283f3b3b3149d7c8627bd2dd151836dad8c18f1e933
|
4
|
+
data.tar.gz: 258676867d23801518d9f5945c771a047595860e2e9814570ba495674f0d71c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21803dd990c28b6053663e2a360c158cc858290f55bdd346b4843680c17dd40f7a5aa6c54572aa9614586045c7673e8c0176a525a8e886d8dd777b4c1a55527e
|
7
|
+
data.tar.gz: 6a72e46140d9eb893c76fb0a5084738465e5feaec313c50e1c40cfaea2ebf7b98f9a18d0049d9c8b1fb032f86497ce9de68da6a104267263e80ce134536978f3
|
data/lib/fastlane/plugin/firebase_app_distribution/actions/firebase_app_distribution_action.rb
CHANGED
@@ -46,7 +46,8 @@ module Fastlane
|
|
46
46
|
|
47
47
|
upload_timeout = get_upload_timeout(params)
|
48
48
|
|
49
|
-
|
49
|
+
upload_status_response = fad_api_client.upload(app_name, binary_path, platform.to_s, upload_timeout)
|
50
|
+
release_name = upload_status_response.release_name
|
50
51
|
|
51
52
|
if binary_type == :AAB && aab_info && !aab_info.certs_provided?
|
52
53
|
updated_aab_info = fad_api_client.get_aab_info(app_name)
|
@@ -69,6 +70,18 @@ module Fastlane
|
|
69
70
|
group_aliases = string_to_array(groups)
|
70
71
|
fad_api_client.distribute(release_name, emails, group_aliases)
|
71
72
|
UI.success("🎉 App Distribution upload finished successfully.")
|
73
|
+
|
74
|
+
if upload_status_response.firebase_console_uri
|
75
|
+
UI.message("🔗 View this release in the Firebase console: #{upload_status_response.firebase_console_uri}")
|
76
|
+
end
|
77
|
+
|
78
|
+
if upload_status_response.testing_uri
|
79
|
+
UI.message("🔗 Share this release with testers: #{upload_status_response.testing_uri}")
|
80
|
+
end
|
81
|
+
|
82
|
+
if upload_status_response.binary_download_uri
|
83
|
+
UI.message("🔗 Download the release binary (link expires in 1 hour): #{upload_status_response.binary_download_uri}")
|
84
|
+
end
|
72
85
|
end
|
73
86
|
|
74
87
|
def self.description
|
@@ -31,6 +31,18 @@ class UploadStatusResponse
|
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
34
|
+
def firebase_console_uri
|
35
|
+
release ? release[:firebaseConsoleUri] : nil
|
36
|
+
end
|
37
|
+
|
38
|
+
def testing_uri
|
39
|
+
release ? release[:testingUri] : nil
|
40
|
+
end
|
41
|
+
|
42
|
+
def binary_download_uri
|
43
|
+
release ? release[:binaryDownloadUri] : nil
|
44
|
+
end
|
45
|
+
|
34
46
|
def status
|
35
47
|
response ? response[:result] : nil
|
36
48
|
end
|
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.
|
4
|
+
version: 0.4.0.pre.1
|
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:
|
13
|
+
date: 2023-01-17 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: pry
|
@@ -180,9 +180,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
180
180
|
version: '0'
|
181
181
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
182
182
|
requirements:
|
183
|
-
- - "
|
183
|
+
- - ">"
|
184
184
|
- !ruby/object:Gem::Version
|
185
|
-
version:
|
185
|
+
version: 1.3.1
|
186
186
|
requirements: []
|
187
187
|
rubygems_version: 3.1.6
|
188
188
|
signing_key:
|