diff --git a/VERSION b/VERSION index d1f79a9..1db994b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v1.2.8 +v1.2.9 diff --git a/mysql/create-start.sh b/mysql/create-start.sh index e4e4bdf..cf62e68 100755 --- a/mysql/create-start.sh +++ b/mysql/create-start.sh @@ -24,7 +24,20 @@ currentDir="$( pwd -P )" cd $currentDir -./create.sh -f "$format" $1 $2 $3 +createOutput=$(./create.sh -f "$format" $1 $2 $3) set -eu -./start.sh -f "$format" $1 +startOutput=$(./start.sh -f "$format" $1) + +# Output +if [ "$format" = "json" ]; then + echo "[" + echo "$createOutput" + echo "," + echo "$startOutput" + echo "]" +else + echo "$createOutput" + echo "$startOutput" +fi +