diff options
Diffstat (limited to 'bootstrap-bluegreen')
-rwxr-xr-x | bootstrap-bluegreen | 10 |
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 |