From 4eba2136108a406d2924eaf9dd612345e3917200 Mon Sep 17 00:00:00 2001 From: Andrew Lee Rubinger Date: Sat, 9 Mar 2024 02:13:47 -0800 Subject: [PATCH] Issue #217: Ooopsie on postcondition check --- .github/workflows/build-test-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-test-deploy.yml b/.github/workflows/build-test-deploy.yml index 75e04c0c..4afd172f 100644 --- a/.github/workflows/build-test-deploy.yml +++ b/.github/workflows/build-test-deploy.yml @@ -58,7 +58,7 @@ jobs: fi # Postcondition check; only allow this to proceed if we have a version ending in "-SNAPSHOT" - if [[ ! "$input_string" =~ -SNAPSHOT$ ]]; then + if [[ ! "$resolvedVersion" =~ -SNAPSHOT$ ]]; then echo "Error: The version does not end with \"-SNAPSHOT\": $resolvedVersion" exit 1 fi