33echo " Publishing for branch $TRAVIS_BRANCH JDK: $TRAVIS_JDK_VERSION "
44
55EXIT_STATUS=0
6+ TAG_BRANCH=master
67
78# Only JDK8 execution will publish the release
89if [[ " ${TRAVIS_JDK_VERSION} " == " openjdk11" || " ${TRAVIS_JDK_VERSION} " == " openjdk14" ]]; then
@@ -31,7 +32,7 @@ if [[ $TRAVIS_REPO_SLUG == "grails/grails-data-mapping" && $TRAVIS_PULL_REQUEST
3132 echo " https://$GH_TOKEN :@github.com" > ~ /.git-credentials
3233
3334 echo " Triggering Hibernate 5 build"
34- git clone -b $TRAVIS_BRANCH https://${GH_TOKEN} @github.com/grails/gorm-hibernate5.git gorm-hibernate5
35+ git clone -b $TAG_BRANCH https://${GH_TOKEN} @github.com/grails/gorm-hibernate5.git gorm-hibernate5
3536 cd gorm-hibernate5
3637 echo " $( date) " > .snapshot
3738 git add .snapshot
@@ -40,7 +41,7 @@ if [[ $TRAVIS_REPO_SLUG == "grails/grails-data-mapping" && $TRAVIS_PULL_REQUEST
4041 cd ..
4142
4243 echo " Triggering Neo4j build"
43- git clone -b $TRAVIS_BRANCH https://${GH_TOKEN} @github.com/grails/gorm-neo4j.git gorm-neo4j
44+ git clone -b $TAG_BRANCH https://${GH_TOKEN} @github.com/grails/gorm-neo4j.git gorm-neo4j
4445 cd gorm-neo4j
4546 echo " $( date) " > .snapshot
4647 git add .snapshot
@@ -49,7 +50,7 @@ if [[ $TRAVIS_REPO_SLUG == "grails/grails-data-mapping" && $TRAVIS_PULL_REQUEST
4950 cd ..
5051
5152 echo " Triggering MongoDB build"
52- git clone -b $TRAVIS_BRANCH https://${GH_TOKEN} @github.com/grails/gorm-mongodb.git gorm-mongodb
53+ git clone -b $TAG_BRANCH https://${GH_TOKEN} @github.com/grails/gorm-mongodb.git gorm-mongodb
5354 cd gorm-mongodb
5455 echo " $( date) " > .snapshot
5556 git add .snapshot
@@ -61,7 +62,7 @@ if [[ $TRAVIS_REPO_SLUG == "grails/grails-data-mapping" && $TRAVIS_PULL_REQUEST
6162 # If there is a tag present then this becomes the latest
6263 if [[ $TRAVIS_TAG =~ ^v[[:digit:]] ]]; then
6364 echo " Triggering documentation build"
64- git clone -b $TRAVIS_BRANCH https://${GH_TOKEN} @github.com/grails/gorm-docs.git gorm-docs
65+ git clone -b $TAG_BRANCH https://${GH_TOKEN} @github.com/grails/gorm-docs.git gorm-docs
6566 cd gorm-docs
6667
6768 if [[ $TRAVIS_TAG =~ [M\d | RC\d ] ]]; then
0 commit comments