Skip to content

Commit

Permalink
Updated travis-build.sh
Browse files Browse the repository at this point in the history
Fix error in if cond
  • Loading branch information
puneetbehl committed Apr 3, 2020
1 parent 942e420 commit 6ef33ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion travis-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ else
./gradlew --no-daemon --refresh-dependencies check || EXIT_STATUS=$?
if [[ $EXIT_STATUS -eq 0 && $TRAVIS_PULL_REQUEST == 'false' ]]; then
echo "Travis Branch $TRAVIS_BRANCH"
if ([[ -n $TRAVIS_TAG ]] || [[ $TRAVIS_BRANCH =~ ^master|[7]\..\.x$ ]] ]] && [[ "${TRAVIS_JDK_VERSION}" != "openjdk11" ]]); then
if ([[ -n $TRAVIS_TAG ]] || [[ $TRAVIS_BRANCH =~ ^master|[7]\..\.x$ ]] && [[ "${TRAVIS_JDK_VERSION}" != "openjdk11" ]]); then
./travis-publish.sh || EXIT_STATUS=$?
fi
fi
Expand Down

0 comments on commit 6ef33ef

Please sign in to comment.