From 1e721207ebd7bea08d49bc105074ef03a417dbc9 Mon Sep 17 00:00:00 2001 From: Chris Reynolds Date: Tue, 14 Nov 2023 08:56:00 -0700 Subject: [PATCH] return FIXTURE_VERSION to what it was originally this will be broken until pantheon-systems/infrastructure#3574 is merged, but then we can re-run and it should work --- bin/validate-fixture-version.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/validate-fixture-version.sh b/bin/validate-fixture-version.sh index f5d0eff4..cbe1877b 100755 --- a/bin/validate-fixture-version.sh +++ b/bin/validate-fixture-version.sh @@ -31,8 +31,7 @@ main(){ TESTED_UP_TO=$(grep -i "Tested up to:" "${README_FILE_PATH}" | tr -d '\r\n' | awk -F ': ' '{ print $2 }') echo "Tested Up To: ${TESTED_UP_TO}" local FIXTURE_VERSION - # Ignore NewRelic error. - FIXTURE_VERSION=$(terminus wp "${TERMINUS_SITE}.dev" -- core version 2>&1 | grep -v "PHP Startup: Unable to load dynamic library" | awk '/^[0-9]+\.[0-9]+(\.[0-9]+)?$/ {print $0; exit}') + FIXTURE_VERSION=$(terminus wp "${TERMINUS_SITE}.dev" -- core version) echo "Fixture Version: ${FIXTURE_VERSION}" if ! php -r "exit(version_compare('${TESTED_UP_TO}', '${FIXTURE_VERSION}'));"; then