Skip to content

Commit 1428c0a

Browse files
authored
Update buildViaTravis.sh
1 parent 1dd0f33 commit 1428c0a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

buildViaTravis.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,9 @@ export GRADLE_OPTS=-Xmx1024m
99
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
1010
echo -e "Build Pull Request #$TRAVIS_PULL_REQUEST => Branch [$TRAVIS_BRANCH]"
1111
./gradlew -PreleaseMode=pr build
12-
elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" == "" ]; then
13-
echo -e 'Build Branch with Snapshot => Branch ['$TRAVIS_BRANCH']'
14-
./gradlew -PreleaseMode=branch -PbintrayUser="${bintrayUser}" -PbintrayKey="${bintrayKey}" -PsonatypeUsername="${sonatypeUsername}" -PsonatypePassword="${sonatypePassword}" build --stacktrace
1512
elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" != "" ]; then
1613
echo -e 'Build Branch for Release => Branch ['$TRAVIS_BRANCH'] Tag ['$TRAVIS_TAG']'
1714
./gradlew -PreleaseMode=full -PbintrayUser="${bintrayUser}" -PbintrayKey="${bintrayKey}" -PsonatypeUsername="${sonatypeUsername}" -PsonatypePassword="${sonatypePassword}" build --stacktrace
1815
else
1916
echo -e 'WARN: Should not be here => Branch ['$TRAVIS_BRANCH'] Tag ['$TRAVIS_TAG'] Pull Request ['$TRAVIS_PULL_REQUEST']'
20-
fi
17+
fi

0 commit comments

Comments
 (0)