Skip to content

Commit

Permalink
Errors fail the deploy script.
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeWharton committed Dec 20, 2014
1 parent 8b657e0 commit df9001c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .buildscript/deploy_snapshot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ SLUG="square/okhttp"
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
Expand Down

0 comments on commit df9001c

Please sign in to comment.