From 11c4a7b6426a0bd29b7b17ab21e7415b651a98ee Mon Sep 17 00:00:00 2001 From: chriseth Date: Mon, 13 Feb 2017 11:22:07 +0100 Subject: Fail if docker deploy failed. --- scripts/docker_deploy.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/docker_deploy.sh b/scripts/docker_deploy.sh index c9682c16..fe157044 100755 --- a/scripts/docker_deploy.sh +++ b/scripts/docker_deploy.sh @@ -1,5 +1,7 @@ #!/usr/bin/env sh +set -e + docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"; version=$(grep -oP "PROJECT_VERSION \"?\K[0-9.]+(?=\")"? $(dirname "$0")/../CMakeLists.txt) if [ "$TRAVIS_BRANCH" == "develop" ]; then -- cgit