summaryrefslogtreecommitdiff
path: root/bootstrap-bluegreen
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-05-19 18:54:17 +0200
committerFlorian Dold <florian.dold@gmail.com>2016-05-19 18:54:17 +0200
commit113b586c34f256504fa9ffa829b779f912e210db (patch)
tree069635932988f8704cfb43f235058d1be1c5e920 /bootstrap-bluegreen
parent9c110443e261c1ec7c467b30dd62f6adde9a0ea1 (diff)
downloaddeployment-113b586c34f256504fa9ffa829b779f912e210db.tar.gz
deployment-113b586c34f256504fa9ffa829b779f912e210db.tar.bz2
deployment-113b586c34f256504fa9ffa829b779f912e210db.zip
fix script / remove obsolete scripts
Diffstat (limited to 'bootstrap-bluegreen')
-rwxr-xr-xbootstrap-bluegreen10
1 files changed, 9 insertions, 1 deletions
diff --git a/bootstrap-bluegreen b/bootstrap-bluegreen
index 5f15aaf..415d733 100755
--- a/bootstrap-bluegreen
+++ b/bootstrap-bluegreen
@@ -19,6 +19,7 @@
set -eu
usage() {
+ ech "Usage:"
echo "$0: DEPLOYMENT_BASENAME"
}
@@ -29,6 +30,13 @@ fi
DEPLOYMENT_BASENAME=$1
+BRANCH=master
+case $DEPLOYMENT_BASENAME in
+ demo)
+ BRANCH=stable
+ ;;
+esac
+
cd $HOME
if ! test -d $HOME/gnunet; then
@@ -46,7 +54,7 @@ for component in bank merchant gnurl landing exchange merchant-frontends deploym
done
for component in bank merchant landing exchange merchant-frontends; do
- git -C $HOME/$component checkout stable
+ git -C $HOME/$component checkout $BRANCH
done
cat >$HOME/activate <<EOL