Skip to content

Commit e9e8109

Browse files
authored
Merge pull request mybatis#197 from hazendaz/master
[travis] Fix jdk check
2 parents a68acde + 2022ce8 commit e9e8109

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

travis/after_success.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ echo "Current commit detected: ${commit_message}"
3434

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

37-
if [ $VER == "18" ]; then
37+
if [ $TRAVIS_JDK_VERSION == "oraclejdk8" ]; then
3838

3939
# Deploy to sonatype
4040
./mvnw clean deploy -q --settings ./travis/settings.xml

0 commit comments

Comments
 (0)