Skip to content
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

Fix success status when action failed #111

Merged
merged 2 commits into from
Jun 26, 2023

Conversation

wzieba
Copy link
Owner

@wzieba wzieba commented Jun 25, 2023

Closes: #109
Closes: #101

Originally posted by @kaibolay in #110

I've cherry-picked the original commit to run tests. Then, I added a test for the "action failed" scenario.

kaibolay and others added 2 commits June 25, 2023 10:51
The exit code of the script should be the exit code of the `firebase ` command. The easiest way to achieve that is to have `firebase` be the last command in the script.

I've removed the (conditional) token deprecation warning output at the end of the script, because it's a duplicate, the warning is still given before the `firebase` command is executed.
@kaibolay
Copy link
Contributor

Thanks!

@kaibolay
Copy link
Contributor

I guess you'll still need to merge this. I don't have permission.

@wzieba wzieba merged commit 6fbe704 into master Jun 26, 2023
@wzieba wzieba deleted the fix_incorrect_status_when_failure branch June 26, 2023 08:27
@wzieba
Copy link
Owner Author

wzieba commented Jun 26, 2023

Right @kaibolay 👍. I've just merged it and released v1.5.1. Thanks again for your contribution 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants