Extract shared function

This commit is contained in:
Adam Harrison committed 2016-09-29 11:45:28 +01:00
1 parent e1063944f6
commit 263dffeedc
4 files changed
+22 -19

No files matched your search

+3 -5
View File
@@ -2,6 +2,8 @@
set -e
source "$(dirname "$(readlink -f "$0")")/circle-functions"
source "$STATE"
if [ -z "$SKIP_TESTS" ] ; then
@@ -11,11 +13,7 @@ if [ -z "$SKIP_TESTS" ] ; then
make publish
fi
go get github.com/weaveworks/wordepress
cd /home/ubuntu/src/github.com/weaveworks/wordepress
git checkout v1.0.0
cd cmd/wordepress
go get
install_wordepress v1.0.0
cd $SRCDIR
bin/publish-site "$WP_DEV_URL" "$WP_DEV_USER" "$WP_DEV_PASSWORD"