mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-08 05:11:04 +00:00
Fixed hard coded git branch
This commit is contained in:
1 parent
b9fc687dbe
commit
4966b074bc
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user