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

Build command always return code 0 despite failing in linux #85349

Closed
leandro-benedet-garcia opened this issue Nov 25, 2023 · 1 comment
Closed
Labels

Comments

@leandro-benedet-garcia
Copy link

Godot version

https://godotengine.org/download/archive/4.1.2-stable/

System information

github actions server, ubuntu image

Issue description

I noticed that despite the build failing, this command:

$GODOT_EXECUTABLE --export-release --headless ${build} || die "Failed to create ${build} build"

The command die never executes, which means the engine is returning code 0, which means success, and that's not what it should happen.

Steps to reproduce

  1. Create a project that should fail on build
  2. Execute a command, let's say `$GODOT_EXECUTABLE --export-release --headless "Android"
  3. Then execute echo $? to display the error code, it will always be 0

Minimal reproduction project

N/A

@akien-mga
Copy link
Member

Duplicate of #83042, consolidating there.

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

No branches or pull requests

2 participants