diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2022-04-06 15:26:15 +0100 |
---|---|---|
committer | Matthew Pickering <matthewtpickering@gmail.com> | 2022-04-06 15:26:15 +0100 |
commit | e9ad3483881d7c621a67d70740dcf1dd5bebd53b (patch) | |
tree | 3295c6802e48b27ecc03aa40e30f8235d0f23fce | |
parent | add9fc8a2de3765a526bba773859dafd0cef3c11 (diff) | |
download | haskell-e9ad3483881d7c621a67d70740dcf1dd5bebd53b.tar.gz |
Final error in this one line
-rwxr-xr-x | .gitlab/ci.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab/ci.sh b/.gitlab/ci.sh index 539f3c7a74..22bcada3b0 100755 --- a/.gitlab/ci.sh +++ b/.gitlab/ci.sh @@ -453,7 +453,7 @@ function determine_metric_baseline() { # We should never try to build a validate build in a release pipeline so this is # very defensive in case we have made a mistake somewhere. function check_release_build() { - if [ -z "${RELEASE_JOB:-}" ] && [[ "${BUILD_FLAVOUR:-}" == *"validate"* ]] + if [ "${RELEASE_JOB:-}" == "yes" ] && [[ "${BUILD_FLAVOUR:-}" == *"validate"* ]] then info "Exiting build because this is a validate build in a release job" exit 0; |