Skip to content
This repository was archived by the owner on Apr 30, 2019. It is now read-only.

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 8de3a08 commit 46237e8
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/otto"
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 46237e8

Please sign in to comment.