Add support for DOKKU_TAG in bootstrap.sh

Fixes #330
Refs #329
This commit is contained in:
Paul Lietar committed 2013-11-20 23:40:42 +00:00
1 parent d11f732595
commit e85ab7bab4
1 file changed
+9 -1
+9 -1
View File
@@ -13,7 +13,15 @@ apt-get update
apt-get install -y git make curl software-properties-common apt-get install -y git make curl software-properties-common
cd ~ && test -d dokku || git clone $DOKKU_REPO cd ~ && test -d dokku || git clone $DOKKU_REPO
cd dokku && test $DOKKU_BRANCH && git checkout origin/$DOKKU_BRANCH || true cd dokku
git fetch origin
if [[ -n $DOKKU_BRANCH ]]; then
git checkout origin/$DOKKU_BRANCH
elif [[ -n $DOKKU_TAG ]]; then
git checkout $DOKKU_TAG
fi
make install make install
echo echo