Skip to content

fix(cli): return a non-zero exit code on failure #11

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

Merged
merged 1 commit into from
Dec 3, 2019

Conversation

stevenpetryk
Copy link
Contributor

Previously, this script would silently fail when an error was encountered. This breaks builds. Now,
it will return an exit code of 1 when an error is encountered.

BREAKING CHANGE: This may lead builds to break that previously succeeded. This would mean that there was previously an uncaught error in your setup. Well-configured, healthy builds should remain unaffected.

Previously, this script would silently fail when an error was encountered. This breaks builds. Now,
it will return an exit code of 1 when an error is encountered.

BREAKING CHANGE: This may lead to builds that previously succeeded breaking. This would mean that
there was previously an uncaught error in your setup. Well-configured, healthy builds should remain
unaffected.
@stevenpetryk stevenpetryk merged commit ce34c0b into master Dec 3, 2019
@stevenpetryk stevenpetryk deleted the sgp/handle-errors branch December 3, 2019 04:08
@stevenpetryk
Copy link
Contributor Author

🎉 This PR is included in version 3.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants