Skip to content

Commit df9001c

Browse files
committed
Errors fail the deploy script.
1 parent 8b657e0 commit df9001c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.buildscript/deploy_snapshot.sh

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ SLUG="square/okhttp"
99
JDK="oraclejdk8"
1010
BRANCH="master"
1111

12+
set -e
13+
1214
if [ "$TRAVIS_REPO_SLUG" != "$SLUG" ]; then
1315
echo "Skipping snapshot deployment: wrong repository. Expected '$SLUG' but was '$TRAVIS_REPO_SLUG'."
1416
elif [ "$TRAVIS_JDK_VERSION" != "$JDK" ]; then

0 commit comments

Comments
 (0)