Skip to content

Commit 8d7cddf

Browse files
authored
Updated JDK version check in after_success.sh.
1 parent 9b1f1fb commit 8d7cddf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

travis/after_success.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ echo "Current commit detected: ${commit_message}"
3333

3434
if [ $TRAVIS_REPO_SLUG == "mybatis/migrations" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" ] && [[ "$commit_message" != *"[maven-release-plugin]"* ]]; then
3535

36-
if [ $TRAVIS_JDK_VERSION == "oraclejdk8" ]; then
36+
if [ $TRAVIS_JDK_VERSION == "openjdk8" ]; then
3737

3838
# Deploy to sonatype
3939
./mvnw clean deploy -q --settings ./travis/settings.xml
@@ -54,4 +54,4 @@ else
5454
echo "Travis Pull Request: $TRAVIS_PULL_REQUEST"
5555
echo "Travis Branch: $TRAVIS_BRANCH"
5656
echo "Travis build skipped"
57-
fi
57+
fi

0 commit comments

Comments
 (0)