-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add check for FIREBASE_TOKEN existence #48
Conversation
Warn when both token (either as input or environment variable) and service credentials are defined at the same time
@@ -168,8 +168,12 @@ if [ -z "${firebase_token}" ] ; then | |||
fi | |||
fi | |||
|
|||
if [ -n "${FIREBASE_TOKEN}" ] && [ -n "${service_credentials_file}" ]; then | |||
echo_warn "Both authentication methods are defined: Firebase Token (via FIREBASE_TOKEN environment variable) and Service Credentials Field, one is enough." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hey, why do we have to use the uppercase one? I thought the lowercase one was already filled with the environment variable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't have to. We even shouldn't use it. However, it is still recognized by CLI and a lot of people just call the secrets like that - FIREBASE_TOKEN
.
Warn when both token (either as input or environment variable) and service credentials are defined at the same time
* Add check for FIREBASE_TOKEN existence (#48) Warn when both token (either as input or environment variable) and service credentials are defined at the same time * Addressing race condition * adding ID print so I know * removing print * Update enviornment var when using URL --------- Co-authored-by: Karol Wrótniak <[email protected]>
* Add check for FIREBASE_TOKEN existence (#48) Warn when both token (either as input or environment variable) and service credentials are defined at the same time * Skip installing firebase-tools if it exists --------- Co-authored-by: Karol Wrótniak <[email protected]> Co-authored-by: Sinan Gunes <[email protected]>
* Add check for FIREBASE_TOKEN existence (#48) Warn when both token (either as input or environment variable) and service credentials are defined at the same time * Added Firebase AD Release ID output --------- Co-authored-by: Karol Wrótniak <[email protected]> Co-authored-by: Sinan Gunes <[email protected]>
* Add check for FIREBASE_TOKEN existence (#48) Warn when both token (either as input or environment variable) and service credentials are defined at the same time * get apk url and set apk url environment --------- Co-authored-by: Karol Wrótniak <[email protected]> Co-authored-by: Sinan Gunes <[email protected]>
Warn when both token (either as input or environment variable) and service credentials are defined at the same time