fix deploy and test-scripts
This commit is contained in:
parent
dde469c27c
commit
8be3efb322
2 changed files with 7 additions and 7 deletions
|
@ -61,9 +61,9 @@ else
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Run svn add"
|
|
||||||
svn st | grep '^!' | sed -e 's/\![ ]*/svn del -q /g' | sh
|
|
||||||
echo "Run svn del"
|
echo "Run svn del"
|
||||||
|
svn st | grep '^!' | sed -e 's/\![ ]*/svn del -q /g' | sh
|
||||||
|
echo "Run svn add"
|
||||||
svn st | grep '^?' | sed -e 's/\?[ ]*/svn add -q /g' | sh
|
svn st | grep '^?' | sed -e 's/\?[ ]*/svn add -q /g' | sh
|
||||||
|
|
||||||
# If tag number and credentials are provided, commit to trunk.
|
# If tag number and credentials are provided, commit to trunk.
|
||||||
|
|
|
@ -15,11 +15,11 @@ WP_TESTS_DIR=${WP_TESTS_DIR-/tmp/wordpress-tests-lib}
|
||||||
WP_CORE_DIR=${WP_CORE_DIR-/tmp/wordpress/}
|
WP_CORE_DIR=${WP_CORE_DIR-/tmp/wordpress/}
|
||||||
|
|
||||||
download() {
|
download() {
|
||||||
if [ `which curl` ]; then
|
if [ `which curl` ]; then
|
||||||
curl -s "$1" > "$2";
|
curl -s "$1" > "$2";
|
||||||
elif [ `which wget` ]; then
|
elif [ `which wget` ]; then
|
||||||
wget -nv -O "$2" "$1"
|
wget -nv -O "$2" "$1"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
if [[ $WP_VERSION =~ [0-9]+\.[0-9]+(\.[0-9]+)? ]]; then
|
if [[ $WP_VERSION =~ [0-9]+\.[0-9]+(\.[0-9]+)? ]]; then
|
||||||
|
|
Loading…
Reference in a new issue