We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2495daf commit 090cec3Copy full SHA for 090cec3
1 file changed
templates/install-wp-tests.sh
@@ -71,7 +71,10 @@ check_for_updates() {
71
echo -e "${YELLOW}Warning: A newer version of this script is available at $remote_url${RESET}"
72
fi
73
}
74
-check_for_updates
+# Allow disabling the update check by setting WP_INSTALL_TESTS_SKIP_UPDATE_CHECK=true in the environment.
75
+if [ "${WP_INSTALL_TESTS_SKIP_UPDATE_CHECK:-false}" != "true" ]; then
76
+ check_for_updates
77
+fi
78
79
if [[ $WP_VERSION =~ ^[0-9]+\.[0-9]+\-(beta|RC)[0-9]+$ ]]; then
80
WP_BRANCH=${WP_VERSION%\-*}
0 commit comments