Skip to content

Build failure should stop `build:package`

Richard Clamp requested to merge 3042-fail-rake-on-failed-build into master

Build.exec is implemented in terms of Kernel#system, which returns true or false if the command succeeded.

This was not being checked, so a failed build would not fail the wrapping rake task. Here we check it and call fail if it wasn't successful.

Closes #3042 (closed)

Edited by Richard Clamp

Merge request reports