Skip to content

Exit the script process with non-zero status #150

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
Mar 14, 2023

Conversation

m-aciek
Copy link
Contributor

@m-aciek m-aciek commented Mar 12, 2023

Exit the script process with status EX_SOFTWARE (70, non-zero) if at least one build was unsuccessful.

Fixes false negatives given by build_docs.py script when using in CI. Stumbled upon in python-docs-theme CI.

@m-aciek
Copy link
Contributor Author

m-aciek commented Mar 13, 2023

I've squashed the changes to avoid merging my reverts to main branch.

@JulienPalard JulienPalard merged commit 85b9d5a into python:main Mar 14, 2023
@JulienPalard
Copy link
Member

Thanks for this PR! It even feel strange that it has not been implemented sooner ;)

@m-aciek m-aciek deleted the exit-code branch March 14, 2023 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants