From e7fe69df271726786d53061f917a92fb2655f681 Mon Sep 17 00:00:00 2001 From: Ben Christensen Date: Thu, 5 Feb 2015 22:24:41 -0800 Subject: [PATCH] Disable Snapshot --- gradle/buildViaTravis.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gradle/buildViaTravis.sh b/gradle/buildViaTravis.sh index 3484106e31..088a7e6f72 100755 --- a/gradle/buildViaTravis.sh +++ b/gradle/buildViaTravis.sh @@ -6,7 +6,8 @@ if [ "$TRAVIS_PULL_REQUEST" == "true" ]; then ./gradlew -Prelease.useLastTag=true build elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" == "" ]; then echo -e 'Build Branch with Snapshot => Branch ['$TRAVIS_BRANCH']' - ./gradlew -Prelease.travisci=true -PbintrayUser="${bintrayUser}" -PbintrayKey="${bintrayKey}" snapshot --stacktrace + #./gradlew -Prelease.travisci=true -PbintrayUser="${bintrayUser}" -PbintrayKey="${bintrayKey}" snapshot --stacktrace + ./gradlew -Prelease.travisci=true -PbintrayUser="${bintrayUser}" -PbintrayKey="${bintrayKey}" --stacktrace elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" != "" ]; then echo -e 'Build Branch for Release => Branch ['$TRAVIS_BRANCH'] Tag ['$TRAVIS_TAG']' ./gradlew -Prelease.travisci=true -Prelease.useLastTag=true -PbintrayUser="${bintrayUser}" -PbintrayKey="${bintrayKey}" final --stacktrace