File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1313 ./gradlew --no-daemon --refresh-dependencies check || EXIT_STATUS=$?
1414 if [[ $EXIT_STATUS -eq 0 && $TRAVIS_PULL_REQUEST == ' false' ]]; then
1515 echo " Travis Branch $TRAVIS_BRANCH "
16- if ([[ -n $TRAVIS_TAG ]] || [[ $TRAVIS_BRANCH == ' master' ]] && [[ " ${TRAVIS_JDK_VERSION} " != " openjdk11" ]]); then
16+ if ([[ -n $TRAVIS_TAG ]] || [[ $TRAVIS_BRANCH =~ ^ master| [7] \. . \. x$ ]] ]] && [[ " ${TRAVIS_JDK_VERSION} " != " openjdk11" ]]); then
1717 ./travis-publish.sh || EXIT_STATUS=$?
1818 fi
1919 fi
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ if [[ $TRAVIS_REPO_SLUG == "grails/grails-data-mapping" && $TRAVIS_PULL_REQUEST
3131 echo " https://$GH_TOKEN :@github.com" > ~ /.git-credentials
3232
3333 echo " Triggering Hibernate 5 build"
34- git clone -b 7.0.x https://${GH_TOKEN} @github.com/grails/gorm-hibernate5.git gorm-hibernate5
34+ git clone -b $TRAVIS_BRANCH https://${GH_TOKEN} @github.com/grails/gorm-hibernate5.git gorm-hibernate5
3535 cd gorm-hibernate5
3636 echo " $( date) " > .snapshot
3737 git add .snapshot
@@ -40,7 +40,7 @@ if [[ $TRAVIS_REPO_SLUG == "grails/grails-data-mapping" && $TRAVIS_PULL_REQUEST
4040 cd ..
4141
4242 echo " Triggering Neo4j build"
43- git clone -b 7.0.x https://${GH_TOKEN} @github.com/grails/gorm-neo4j.git gorm-neo4j
43+ git clone -b $TRAVIS_BRANCH https://${GH_TOKEN} @github.com/grails/gorm-neo4j.git gorm-neo4j
4444 cd gorm-neo4j
4545 echo " $( date) " > .snapshot
4646 git add .snapshot
@@ -49,7 +49,7 @@ if [[ $TRAVIS_REPO_SLUG == "grails/grails-data-mapping" && $TRAVIS_PULL_REQUEST
4949 cd ..
5050
5151 echo " Triggering MongoDB build"
52- git clone -b 7.0.x https://${GH_TOKEN} @github.com/grails/gorm-mongodb.git gorm-mongodb
52+ git clone -b $TRAVIS_BRANCH https://${GH_TOKEN} @github.com/grails/gorm-mongodb.git gorm-mongodb
5353 cd gorm-mongodb
5454 echo " $( date) " > .snapshot
5555 git add .snapshot
You can’t perform that action at this time.
0 commit comments