From 681d2b7272669d10f11c5005d52c2c12b10d0143 Mon Sep 17 00:00:00 2001 From: Mustapha Zorgati <15628173+mustaphazorgati@users.noreply.github.com> Date: Tue, 12 Dec 2017 11:29:51 +0100 Subject: [PATCH] fixed PR query --- lib/deployment/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/deployment/deploy.sh b/lib/deployment/deploy.sh index 72943649c..efdc8b420 100755 --- a/lib/deployment/deploy.sh +++ b/lib/deployment/deploy.sh @@ -120,7 +120,7 @@ function main { exit 0 fi - if [[ -n "$TRAVIS_PULL_REQUEST" ]]; then + if [[ "$TRAVIS_PULL_REQUEST" != 'false' ]]; then echo "Skipping release to sonatype because this is a PR build" exit 0 fi