Fixed hard coded git branch

This commit is contained in:
Simon Pamies committed 2013-06-23 15:39:59 +02:00
1 parent b9fc687dbe
commit 4966b074bc
1 file changed
+2 -2
+2 -2
View File
@@ -405,7 +405,7 @@ if [[ "$@" == "remote-deploy" ]]; then
SERVER=$TARGET_SERVER_NAME
echo "Will deploy server $SERVER"
read -s -n1 -p "Did you want me to start a LOCAL build (without tests) for $SERVERS_HOME/$SERVER before deploying (y/n)? " answer
read -s -n1 -p "Did you want me to start a LOCAL build of $active_branch (without tests) for $SERVERS_HOME/$SERVER before deploying (y/n)? " answer
case $answer in
"Y" | "y") BUILD=1;;
*) echo "Not building anything. You have been warned!"
@@ -414,7 +414,7 @@ if [[ "$@" == "remote-deploy" ]]; then
if [[ $BUILD -eq 1 ]]; then
ACDIR=$PWD
cd $HOME/code
git co dev
git co $active_branch
configuration/buildAndUpdateProduct.sh -t build
read -s -n1 -p "Has the build been successful (y/n)? " answer
case $answer in