Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions templates/install-wp-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ else
echo -e "${RED}Error: Latest WordPress version could not be found.${RESET}"
exit 1
fi
# The version-check endpoint returns major.minor (e.g., 6.9), but GitHub tags include the patch version (e.g., 6.9.0)
if [[ $LATEST_VERSION =~ ^[0-9]+\.[0-9]+$ ]]; then
LATEST_VERSION="${LATEST_VERSION}.0"
fi
WP_TESTS_TAG="tags/$LATEST_VERSION"
fi

Expand Down