Skip to content

Commit

Permalink
return FIXTURE_VERSION to what it was originally
Browse files Browse the repository at this point in the history
this will be broken until pantheon-systems/infrastructure#3574 is merged, but then we can re-run and it should work
  • Loading branch information
jazzsequence committed Nov 14, 2023
1 parent cdd1cf7 commit 1e72120
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin/validate-fixture-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1e72120

Please sign in to comment.