mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-06 20:33:54 +00:00
Merge branch 'master' into dev
This commit is contained in:
commit
f662c1db9e
10 files changed
+53
-31
No files matched your search
@@ -214,13 +214,6 @@ if [[ "$@" == "hot-deploy" ]]; then
|
||||
exit
|
||||
fi
|
||||
|
||||
read -s -n1 -p "Currently branch $active_branch is active. Do you want to proceed with $@ (y/N): " answer
|
||||
case $answer in
|
||||
"Y" | "y") echo "Continuing";;
|
||||
*) echo "Aborting..."
|
||||
exit;;
|
||||
esac
|
||||
|
||||
echo "Starting $@ of server (maven configuration set to $MAVEN_SETTINGS)..."
|
||||
|
||||
if [[ "$@" == "build" ]] || [[ "$@" == "all" ]]; then
|
||||
@@ -261,6 +254,13 @@ fi
|
||||
|
||||
if [[ "$@" == "install" ]] || [[ "$@" == "all" ]]; then
|
||||
|
||||
read -s -n1 -p "Currently branch $active_branch is active and I will deploy to $ACDIR. Do you want to proceed with $@ (y/N): " answer
|
||||
case $answer in
|
||||
"Y" | "y") echo "Continuing";;
|
||||
*) echo "Aborting..."
|
||||
exit;;
|
||||
esac
|
||||
|
||||
if [ ! -d $ACDIR ]; then
|
||||
echo "Could not find directory $ACDIR - perhaps you are on a wrong branch?"
|
||||
exit
|
||||
|
||||
Reference in new issue
Block a user