Skip to content

Commit 7cc5b11

Browse files
committed
missing a space in the shell script
1 parent 563216f commit 7cc5b11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gradle/buildViaTravis.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
66
./gradlew -Prelease.useLastTag=true build
77
elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" == "" ]; then
88
echo -e 'Build Branch with Snapshot => Branch ['$TRAVIS_BRANCH']'
9-
if [ "${bintrayUser}" ] && [ "${bintrayKey}" ] && [ "${sonatypeUsername}" ] && [ "${sonatypePassword}"]; then
9+
if [ "${bintrayUser}" ] && [ "${bintrayKey}" ] && [ "${sonatypeUsername}" ] && [ "${sonatypePassword}" ]; then
1010
./gradlew -Prelease.travisci=true -PbintrayUser="${bintrayUser}" -PbintrayKey="${bintrayKey}" -PsonatypeUsername="${sonatypeUsername}" -PsonatypePassword="${sonatypePassword}" build snapshot --stacktrace
1111
else
1212
echo -e 'MISSING USERNAME/PASSWORD ENVIRONMENT VARIABLES'
1313
exit 1
1414
fi
1515
elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" != "" ]; then
1616
echo -e 'Build Branch for Release => Branch ['$TRAVIS_BRANCH'] Tag ['$TRAVIS_TAG']'
17-
if [ "${bintrayUser}" ] && [ "${bintrayKey}" ] && [ "${sonatypeUsername}" ] && [ "${sonatypePassword}"]; then
17+
if [ "${bintrayUser}" ] && [ "${bintrayKey}" ] && [ "${sonatypeUsername}" ] && [ "${sonatypePassword}" ]; then
1818
./gradlew -Prelease.travisci=true -Prelease.useLastTag=true -PbintrayUser="${bintrayUser}" -PbintrayKey="${bintrayKey}" -PsonatypeUsername="${sonatypeUsername}" -PsonatypePassword="${sonatypePassword}" final --stacktrace
1919
else
2020
echo -e 'MISSING USERNAME/PASSWORD ENVIRONMENT VARIABLES'

0 commit comments

Comments
 (0)