summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-04-06 15:26:15 +0100
committerMatthew Pickering <matthewtpickering@gmail.com>2022-04-06 15:26:15 +0100
commite9ad3483881d7c621a67d70740dcf1dd5bebd53b (patch)
tree3295c6802e48b27ecc03aa40e30f8235d0f23fce
parentadd9fc8a2de3765a526bba773859dafd0cef3c11 (diff)
downloadhaskell-e9ad3483881d7c621a67d70740dcf1dd5bebd53b.tar.gz
Final error in this one line
-rwxr-xr-x.gitlab/ci.sh2
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;