From eb7ff16042a40d7f57799c22d73f341a263cf8e3 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sat, 19 Nov 2016 17:31:07 +0100 Subject: towards auto-generated config --- bootstrap-bluegreen | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'bootstrap-bluegreen') diff --git a/bootstrap-bluegreen b/bootstrap-bluegreen index a5b7eda..11d1de7 100755 --- a/bootstrap-bluegreen +++ b/bootstrap-bluegreen @@ -19,7 +19,7 @@ set -eu usage() { - echo "Usage: $0 DEPLOYMENT_BASENAME" + echo "Usage: $0 ENVNAME" } if [ -z ${1+x} ]; then @@ -27,12 +27,14 @@ if [ -z ${1+x} ]; then exit 1 fi -DEPLOYMENT_BASENAME=$1 +ENVNAME=$1 BRANCH=master -case $DEPLOYMENT_BASENAME in +CURRENCY=PUDOS +case $ENVNAME in demo) BRANCH=stable + CURRENCY=KUDOS ;; esac @@ -59,10 +61,8 @@ cat >$HOME/activate <