fastlane-plugin-firebase_app_distribution 0.3.4.pre.1 → 0.3.6

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: 91839fcf765eec633a450478d6ea098749fbe5aface36f1ee02b0b054a4df3cf
4
- data.tar.gz: 5548c844a4c5bfb9bd99b8895d0a2d83f2a2af0c77e030df97629183684096a2
3
+ metadata.gz: fbab06941b8df52d0959f4792a5414de798b9038f89c8774b5e35afd57019729
4
+ data.tar.gz: 4b64872b0d8bc723fcb85bdf31d447bfd0ac001595c27e2209faa792d31a79ca
5
5
  SHA512:
6
- metadata.gz: 86be9d6224a6fbc54124a5f9de5d35932086eca74541b43a7adf4c23d4b4d2ffc88a0c7b8e17f6cd6aa8a4755225856e3164f622d0df52f357795e91ad7a8e57
7
- data.tar.gz: ef77e82347bee131ab33ec38cb9c14b95db3c0b3e09969af2cf3e5c9544c4ecb5fbdb64e7d9792098f3060ba7ad18c918b27ad412b8910e109353d2a88bbc59e
6
+ metadata.gz: 27fc550a02fad5d23cca0ac7abf1b1787df45ff01facf402a1a64bff6d1489c61058e1a92a78027779f0ef2f55308dab59a87052ad326ef8ce050a643cc65c3c
7
+ data.tar.gz: 862ccc4890c1f7c76ae2c1491da5c039551de3c016e405052f3487b702fcdf897dad14ae0513c70b79e657d61abbd397b7c66b1969685808d1c3c73f60e94ff5
@@ -189,6 +189,7 @@ module Fastlane
189
189
  verify_block: proc do |value|
190
190
  UI.user_error!("firebase_app_distribution: '#{value}' is not a valid value for android_artifact_type. Should be 'APK' or 'AAB'") unless ['APK', 'AAB'].include?(value)
191
191
  end),
192
+ # Generic
192
193
  FastlaneCore::ConfigItem.new(key: :app,
193
194
  env_name: "FIREBASEAPPDISTRO_APP",
194
195
  description: "Your app's Firebase App ID. You can find the App ID in the Firebase console, on the General Settings page",
@@ -201,12 +202,12 @@ module Fastlane
201
202
  type: String),
202
203
  FastlaneCore::ConfigItem.new(key: :groups,
203
204
  env_name: "FIREBASEAPPDISTRO_GROUPS",
204
- description: "The groups used for distribution, separated by commas",
205
+ description: "The group aliases used for distribution, separated by commas",
205
206
  optional: true,
206
207
  type: String),
207
208
  FastlaneCore::ConfigItem.new(key: :groups_file,
208
209
  env_name: "FIREBASEAPPDISTRO_GROUPS_FILE",
209
- description: "The groups used for distribution, separated by commas",
210
+ description: "The group aliases used for distribution, separated by commas",
210
211
  optional: true,
211
212
  type: String),
212
213
  FastlaneCore::ConfigItem.new(key: :testers,
@@ -106,6 +106,16 @@ module Fastlane
106
106
 
107
107
  ]
108
108
  end
109
+
110
+ def self.category
111
+ :deprecated
112
+ end
113
+
114
+ def self.deprecated_notes
115
+ "The firebase_app_distribution_login task is deprecated and will be removed in Q1 2023. See "\
116
+ "https://firebase.google.com/docs/app-distribution/android/distribute-gradle#authenticate "\
117
+ "for more information on alternative ways to authenticate."
118
+ end
109
119
  end
110
120
  end
111
121
  end
@@ -46,7 +46,7 @@ module Fastlane
46
46
  request.headers[CONTENT_TYPE] = APPLICATION_JSON
47
47
  end
48
48
  rescue Faraday::ClientError
49
- UI.user_error!("#{ErrorMessage::INVALID_TESTERS} \nEmails: #{emails} \nGroups: #{group_aliases}")
49
+ UI.user_error!("#{ErrorMessage::INVALID_TESTERS} \nEmails: #{emails} \nGroup Aliases: #{group_aliases}")
50
50
  end
51
51
  UI.success("✅ Added testers/groups.")
52
52
  end
@@ -110,6 +110,7 @@ module Fastlane
110
110
  # Throws a user_error if the binary file does not exist
111
111
  def upload_binary(app_name, binary_path, platform)
112
112
  response = connection.post(binary_upload_url(app_name), read_binary(binary_path)) do |request|
113
+ request.options.timeout = 300 # seconds
113
114
  request.headers[AUTHORIZATION] = "Bearer " + @auth_token
114
115
  request.headers[CONTENT_TYPE] = APPLICATION_OCTET_STREAM
115
116
  request.headers[CLIENT_VERSION] = client_version_header_value
@@ -11,7 +11,7 @@ module ErrorMessage
11
11
  INVALID_APP_ID = "App Distribution could not find your app. Make sure to onboard your app by pressing the \"Get started\" button on the App Distribution page in the Firebase console: https://console.firebase.google.com/project/_/appdistribution. App ID"
12
12
  INVALID_PROJECT = "App Distribution could not find your Firebase project. Make sure to onboard an app in your project by pressing the \"Get started\" button on the App Distribution page in the Firebase console: https://console.firebase.google.com/project/_/appdistribution."
13
13
  INVALID_PATH = "Could not read content from"
14
- INVALID_TESTERS = "Could not enable access for testers. Check that the groups exist and the tester emails are formatted correctly"
14
+ INVALID_TESTERS = "Could not enable access for testers. Check that the tester emails are formatted correctly, the groups exist and you are using group aliases (not group names) for specifying groups."
15
15
  INVALID_RELEASE_NOTES = "Failed to add release notes"
16
16
  SERVICE_CREDENTIALS_ERROR = "App Distribution could not generate credentials from the service credentials file specified"
17
17
  PLAY_ACCOUNT_NOT_LINKED = "This project is not linked to a Google Play account."
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module FirebaseAppDistribution
3
- VERSION = "0.3.4.pre.1"
3
+ VERSION = "0.3.6"
4
4
  end
5
5
  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.3.4.pre.1
4
+ version: 0.3.6
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: 2022-04-12 00:00:00.000000000 Z
13
+ date: 2022-09-09 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: pry
@@ -179,11 +179,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
179
179
  version: '0'
180
180
  required_rubygems_version: !ruby/object:Gem::Requirement
181
181
  requirements:
182
- - - ">"
182
+ - - ">="
183
183
  - !ruby/object:Gem::Version
184
- version: 1.3.1
184
+ version: '0'
185
185
  requirements: []
186
- rubygems_version: 3.1.4
186
+ rubygems_version: 3.1.6
187
187
  signing_key:
188
188
  specification_version: 4
189
189
  summary: Release your beta builds to Firebase App Distribution. https://firebase.google.com/docs/app-distribution