The update to the build script makes it so that the entire script exits when a failure is encountered (and returns with that exit code).