File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,11 @@ download() {
2525 fi
2626}
2727
28- if [[ $WP_VERSION =~ ^[0-9]+\. [0-9]+$ ]]; then
28+ if [[ $WP_VERSION =~ ^[0-9]+\. [0-9]+\- (beta| RC)[0-9]+$ ]]; then
29+ WP_BRANCH=${WP_VERSION% \- * }
30+ WP_TESTS_TAG=" branches/$WP_BRANCH "
31+
32+ elif [[ $WP_VERSION =~ ^[0-9]+\. [0-9]+$ ]]; then
2933 WP_TESTS_TAG=" branches/$WP_VERSION "
3034elif [[ $WP_VERSION =~ [0-9]+\. [0-9]+\. [0-9]+ ]]; then
3135 if [[ $WP_VERSION =~ [0-9]+\. [0-9]+\. [0] ]]; then
4751 fi
4852 WP_TESTS_TAG=" tags/$LATEST_VERSION "
4953fi
50-
5154set -ex
5255
5356install_wp () {
@@ -95,7 +98,7 @@ install_wp() {
9598install_test_suite () {
9699 # portable in-place argument for both GNU sed and Mac OSX sed
97100 if [[ $( uname -s) == ' Darwin' ]]; then
98- local ioption=' -i .bak'
101+ local ioption=' -i.bak'
99102 else
100103 local ioption=' -i'
101104 fi
You can’t perform that action at this time.
0 commit comments