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 reporting exit code when command line export fails #89234

Merged

Conversation

akien-mga
Copy link
Member

See #89229 (comment) for the reasoning that led me there... turns out it was a simple issue of wrong use of if / else branches...

@akien-mga akien-mga added bug topic:export cherrypick:4.1 Considered for cherry-picking into a future 4.1.x release cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release labels Mar 7, 2024
@akien-mga akien-mga added this to the 4.3 milestone Mar 7, 2024
@akien-mga akien-mga requested a review from Calinou March 7, 2024 00:02
Copy link
Member

@AThousandShips AThousandShips left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@akien-mga akien-mga merged commit 1c8d082 into godotengine:master Mar 7, 2024
16 checks passed
@akien-mga akien-mga deleted the cmdline-export-fix-exit-code branch March 7, 2024 09:05
@akien-mga
Copy link
Member Author

Cherry-picked for 4.2.2.
Cherry-picked for 4.1.4.

@akien-mga akien-mga removed cherrypick:4.1 Considered for cherry-picking into a future 4.1.x release cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release labels Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

godot4 --headless --export-release should output a non-zero exit_code on errors
2 participants