Skip to content

Commit

Permalink
use &1
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzsequence committed Nov 8, 2023
1 parent 6057906 commit 07099c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/validate-fixture-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +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
FIXTURE_VERSION=$(terminus wp "${TERMINUS_SITE}.dev" -- core version 2>/dev/null || true)
FIXTURE_VERSION=$(terminus wp "${TERMINUS_SITE}.dev" -- core version 2>&1)
echo "Fixture Version: ${FIXTURE_VERSION}"

if ! php -r "exit(version_compare('${TESTED_UP_TO}', '${FIXTURE_VERSION}'));"; then
Expand Down

0 comments on commit 07099c8

Please sign in to comment.