We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 316da1d commit c68fa22Copy full SHA for c68fa22
bin/run-behat-tests
@@ -5,6 +5,11 @@ if [ ! -d "features" ]; then
5
exit 0;
6
fi
7
8
+# Turn WP_VERSION into an actual number to make sure our tags work correctly.
9
+if [ $WP_VERSION = "latest" ]; then
10
+ export WP_VERSION=$(curl -s https://api.wordpress.org/core/version-check/1.7/ | jq -r ".offers[0].current")
11
+fi
12
+
13
# To retrieve the Behat root folder, we start with this scripts location
14
SOURCE="${BASH_SOURCE[0]}"
15
0 commit comments