diff options
author | Jake Wharton <jw@squareup.com> | 2014-12-20 02:13:33 -0800 |
---|---|---|
committer | Jake Wharton <jw@squareup.com> | 2014-12-20 02:13:33 -0800 |
commit | 0e9f07e7520cb43fc9071650ac1f9a2d7673b27c (patch) | |
tree | f79f0edc30f31db5885cf8808f4fdc1f33814aa0 /.buildscript | |
parent | d50ee868715be902cade9d56c658d1357f31331d (diff) | |
download | javapoet-0e9f07e7520cb43fc9071650ac1f9a2d7673b27c.tar.gz |
Errors fail the deploy script.
Diffstat (limited to '.buildscript')
-rwxr-xr-x | .buildscript/deploy_snapshot.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.buildscript/deploy_snapshot.sh b/.buildscript/deploy_snapshot.sh index ac651d9..bf747da 100755 --- a/.buildscript/deploy_snapshot.sh +++ b/.buildscript/deploy_snapshot.sh @@ -9,6 +9,8 @@ SLUG="square/javawriter" JDK="oraclejdk8" BRANCH="master" +set -e + if [ "$TRAVIS_REPO_SLUG" != "$SLUG" ]; then echo "Skipping snapshot deployment: wrong repository. Expected '$SLUG' but was '$TRAVIS_REPO_SLUG'." elif [ "$TRAVIS_JDK_VERSION" != "$JDK" ]; then |