aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-02-13 19:10:31 +0800
committerGitHub <noreply@github.com>2017-02-13 19:10:31 +0800
commit85492eb8fdec5e5c5fe38044a12e252519a892f3 (patch)
tree564bb01713a3673ce095c31fe24084914dd4dfc7
parent2bd2c8ec262f05cded8fd762a29e4e2a7e9bdc0c (diff)
parent11c4a7b6426a0bd29b7b17ab21e7415b651a98ee (diff)
downloaddexon-solidity-85492eb8fdec5e5c5fe38044a12e252519a892f3.tar.gz
dexon-solidity-85492eb8fdec5e5c5fe38044a12e252519a892f3.tar.zst
dexon-solidity-85492eb8fdec5e5c5fe38044a12e252519a892f3.zip
Merge pull request #1689 from ethereum/failifdockerdeployfalide
Fail if docker deploy failed.
-rwxr-xr-xscripts/docker_deploy.sh2
1 files changed, 2 insertions, 0 deletions
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