aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2017-02-13 18:22:07 +0800
committerchriseth <c@ethdev.com>2017-02-13 18:22:07 +0800
commit11c4a7b6426a0bd29b7b17ab21e7415b651a98ee (patch)
tree564bb01713a3673ce095c31fe24084914dd4dfc7
parent2bd2c8ec262f05cded8fd762a29e4e2a7e9bdc0c (diff)
downloaddexon-solidity-11c4a7b6426a0bd29b7b17ab21e7415b651a98ee.tar.gz
dexon-solidity-11c4a7b6426a0bd29b7b17ab21e7415b651a98ee.tar.zst
dexon-solidity-11c4a7b6426a0bd29b7b17ab21e7415b651a98ee.zip
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