Skip to content

Commit 4fa9512

Browse files
committed
Updated travis-publish.sh to trigger hibernate5,neo4j,mongodb build for 7.0.x branches
1 parent e35eeab commit 4fa9512

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

travis-publish.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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 master https://${GH_TOKEN}@github.com/grails/gorm-hibernate5.git gorm-hibernate5
34+
git clone -b 7.0.x 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 https://${GH_TOKEN}@github.com/grails/gorm-neo4j.git gorm-neo4j
43+
git clone -b 7.0.x 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 https://${GH_TOKEN}@github.com/grails/gorm-mongodb.git gorm-mongodb
52+
git clone -b 7.0.x https://${GH_TOKEN}@github.com/grails/gorm-mongodb.git gorm-mongodb
5353
cd gorm-mongodb
5454
echo "$(date)" > .snapshot
5555
git add .snapshot
@@ -91,4 +91,4 @@ fi
9191
if [[ $EXIT_STATUS -eq 0 ]]; then
9292
echo "Publishing Successful."
9393
fi
94-
exit $EXIT_STATUS
94+
exit $EXIT_STATUS

0 commit comments

Comments
 (0)