diff options
author | chriseth <c@ethdev.com> | 2017-02-13 18:22:07 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2017-02-13 18:22:07 +0800 |
commit | 11c4a7b6426a0bd29b7b17ab21e7415b651a98ee (patch) | |
tree | 564bb01713a3673ce095c31fe24084914dd4dfc7 /scripts/docker_deploy.sh | |
parent | 2bd2c8ec262f05cded8fd762a29e4e2a7e9bdc0c (diff) | |
download | dexon-solidity-11c4a7b6426a0bd29b7b17ab21e7415b651a98ee.tar dexon-solidity-11c4a7b6426a0bd29b7b17ab21e7415b651a98ee.tar.gz dexon-solidity-11c4a7b6426a0bd29b7b17ab21e7415b651a98ee.tar.bz2 dexon-solidity-11c4a7b6426a0bd29b7b17ab21e7415b651a98ee.tar.lz dexon-solidity-11c4a7b6426a0bd29b7b17ab21e7415b651a98ee.tar.xz dexon-solidity-11c4a7b6426a0bd29b7b17ab21e7415b651a98ee.tar.zst dexon-solidity-11c4a7b6426a0bd29b7b17ab21e7415b651a98ee.zip |
Fail if docker deploy failed.
Diffstat (limited to 'scripts/docker_deploy.sh')
-rwxr-xr-x | scripts/docker_deploy.sh | 2 |
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 |