From f70ee213ed3b9e612f51987b10555c8dd6c90e23 Mon Sep 17 00:00:00 2001 From: Steven Jardine Date: Wed, 24 Feb 2016 15:32:38 -0700 Subject: [PATCH] Add javadoc and sources jar to snapshot releases. --- .utility/deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.utility/deploy.sh b/.utility/deploy.sh index 267b0677..6551358e 100755 --- a/.utility/deploy.sh +++ b/.utility/deploy.sh @@ -1,6 +1,6 @@ #!/bin/bash set -ev -if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then +if [ "$TRAVIS_JDK_VERSION" == "oraclejdk7" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" ]; then echo "ossrh\${env.OSSRH_USER}\${env.OSSRH_PASS}" > ~/settings.xml - mvn deploy --settings ~/settings.xml +mvn deploy -Prelease --settings ~/settings.xml fi