diff --git a/travis-publish.sh b/travis-publish.sh index 207acbe3..dcdd7888 100755 --- a/travis-publish.sh +++ b/travis-publish.sh @@ -15,14 +15,8 @@ if [[ $TRAVIS_REPO_SLUG == "grails/gorm-graphql" && $TRAVIS_PULL_REQUEST == 'fal export GRADLE_OPTS="-Xmx1500m -Dfile.encoding=UTF-8" if [[ $TRAVIS_TAG =~ ^v[[:digit:]] ]]; then + ./gradlew bintrayUpload --no-daemon || EXIT_STATUS=$? - if [[ $EXIT_STATUS -eq 0 ]]; then - ./gradlew publish --no-daemon || EXIT_STATUS=$? - fi - - if [[ $EXIT_STATUS -eq 0 ]]; then - ./gradlew bintrayUpload --no-daemon || EXIT_STATUS=$? - fi elif [[ $TRAVIS_PULL_REQUEST == 'false' && $TRAVIS_BRANCH =~ ^master|[123]\..\.x$ ]]; then # for snapshots only to repo.grails.org ./gradlew publish || EXIT_STATUS=$?