diff --git a/update.sh b/update.sh index 558750cf..1769c3c9 100755 --- a/update.sh +++ b/update.sh @@ -1,13 +1,10 @@ #!/bin/bash +set -e echo Updating Zeppelin... docker compose -f docker-compose.production.yml stop git pull -if [ $? -ne 0 ]; then - echo "git pull failed. exiting." - exit 1 -fi docker compose -f docker-compose.production.yml build docker compose -f docker-compose.production.yml up -d