Skip to content

Commit

Permalink
missing a space in the shell script
Browse files Browse the repository at this point in the history
  • Loading branch information
abersnaze committed Jun 3, 2015
1 parent 563216f commit 7cc5b11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gradle/buildViaTravis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
./gradlew -Prelease.useLastTag=true build
elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" == "" ]; then
echo -e 'Build Branch with Snapshot => Branch ['$TRAVIS_BRANCH']'
if [ "${bintrayUser}" ] && [ "${bintrayKey}" ] && [ "${sonatypeUsername}" ] && [ "${sonatypePassword}"]; then
if [ "${bintrayUser}" ] && [ "${bintrayKey}" ] && [ "${sonatypeUsername}" ] && [ "${sonatypePassword}" ]; then
./gradlew -Prelease.travisci=true -PbintrayUser="${bintrayUser}" -PbintrayKey="${bintrayKey}" -PsonatypeUsername="${sonatypeUsername}" -PsonatypePassword="${sonatypePassword}" build snapshot --stacktrace
else
echo -e 'MISSING USERNAME/PASSWORD ENVIRONMENT VARIABLES'
exit 1
fi
elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" != "" ]; then
echo -e 'Build Branch for Release => Branch ['$TRAVIS_BRANCH'] Tag ['$TRAVIS_TAG']'
if [ "${bintrayUser}" ] && [ "${bintrayKey}" ] && [ "${sonatypeUsername}" ] && [ "${sonatypePassword}"]; then
if [ "${bintrayUser}" ] && [ "${bintrayKey}" ] && [ "${sonatypeUsername}" ] && [ "${sonatypePassword}" ]; then
./gradlew -Prelease.travisci=true -Prelease.useLastTag=true -PbintrayUser="${bintrayUser}" -PbintrayKey="${bintrayKey}" -PsonatypeUsername="${sonatypeUsername}" -PsonatypePassword="${sonatypePassword}" final --stacktrace
else
echo -e 'MISSING USERNAME/PASSWORD ENVIRONMENT VARIABLES'
Expand Down

0 comments on commit 7cc5b11

Please sign in to comment.