Skip to content

Commit 5cf449a

Browse files
Thomas NieldThomas Nield
authored andcommitted
snapshot build fixes
1 parent 6b249f4 commit 5cf449a

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

gradle/buildViaTravis.sh

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,4 @@ buildTag="$TRAVIS_TAG"
55

66
export GRADLE_OPTS=-Xmx1024m
77

8-
9-
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
10-
echo -e "Build Pull Request #$TRAVIS_PULL_REQUEST => Branch [$TRAVIS_BRANCH]"
11-
./gradlew -PreleaseMode=pr build
12-
elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" != "" ]; then
13-
echo -e 'Build Branch for Release => Branch ['$TRAVIS_BRANCH'] Tag ['$TRAVIS_TAG']'
14-
./gradlew -PreleaseMode=full -PbintrayUser="${bintrayUser}" -PbintrayKey="${bintrayKey}" -PsonatypeUsername="${sonatypeUsername}" -PsonatypePassword="${sonatypePassword}" build --stacktrace
15-
else
16-
echo -e 'WARN: Should not be here => Branch ['$TRAVIS_BRANCH'] Tag ['$TRAVIS_TAG'] Pull Request ['$TRAVIS_PULL_REQUEST']'
17-
fi
8+
./gradlew -PreleaseMode=full -PbintrayUser="${bintrayUser}" -PbintrayKey="${bintrayKey}" -PsonatypeUsername="${sonatypeUsername}" -PsonatypePassword="${sonatypePassword}" build --stacktrace

0 commit comments

Comments
 (0)