guness / bitrise-step-firebase-app-distribution

Upload your apps to Firebase and sends email to your testers.
MIT License
35 stars 28 forks source link

Failing on Firebase App Distribution Workflow #56

Closed HemalAsanka closed 8 months ago

HemalAsanka commented 1 year ago

Im trying to upload my Android APK file to Firebase App Distribution using Firebase App Distribution Workflow. But, Im getting error as "unknown option '-e'". How can I resolve it? Here is the log:

Configs:
  * firebase_token: [REDACTED]
  * service_credentials_file: 
  * app_path: /bitrise/deploy/app-release-bitrise-signed.apk
  * app: ***********
  * release_notes: -New version
  * release_notes_length: 
  * release_notes_file: 
  * testers: ************
  * groups: 
  * flags: 
  * is_debug: false
  * upgrade_firebase_tools: false
App path contains a file, great!! 👍
-- Checking for existing firebase-tools on PATH...
Your machine already has firebase-tools@12.5.2 installed. Nothing to do.
-- All done!
Deploying build to Firebase
  firebase appdistribution:distribute "/bitrise/deploy/app-release-bitrise-signed.apk" --app "***********" --token "[REDACTED]" --release-notes "-New version" --testers "************"
error: unknown option '-e'
Macjon commented 12 months ago

We are having the same issue A LOT. Is there any solution for this?

guness commented 12 months ago

Can you share a log file here, please?

Macjon commented 12 months ago
Configs:
  * firebase_token: 
  * service_credentials_file: [REDACTED]
  * app_path: /Users/vagrant/deploy/******.ipa
  * app: *****
  * release_notes: 
  * release_notes_length: 
  * release_notes_file: 
  * testers: 
  * groups: ******
  * flags: 
  * is_debug: false
  * upgrade_firebase_tools: false
App path contains a file, great!! 👍
Service Credentials File is a remote url, downloading it ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

100  2332  100  2332    0     0   6443      0 --:--:-- --:--:-- --:--:--  6441
Downloaded Service Credentials File to path: /Users/vagrant/git/credentials.json
-- Checking for existing firebase-tools on PATH...
Your machine has firebase-tools@12.5.4 installed.
If you would like to upgrade your install run: curl -sL firebase.tools | upgrade=true bash
Deploying build to Firebase
  firebase appdistribution:distribute "/Users/vagrant/deploy/******.ipa" --app "********" --groups "****"
Error: Failed to authenticate, have you run firebase login?
AnthonyDadeWT commented 9 months ago

@Macjon

This is not related to the original issue posting, however I have solved the error you are facing in this PR

https://github.com/guness/bitrise-step-firebase-app-distribution/pull/57

guness commented 8 months ago

PR: https://github.com/bitrise-io/bitrise-steplib/pull/4079#issuecomment-1904628309