Tests: Fix nightly binary tests to fail on error
We generate a small shell script to drive the steps. Previously a
failure in the release_cmake.cmake
script was not diagnosed and hidden
from the script exit code by the following upload step. Tell the shell
to terminate with failure on the first command that fails.