Skip to content

Commit 570bf41

Browse files
committed
Update travis build to use 3.1.x branch
1 parent c8bb1a3 commit 570bf41

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

travis-build.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,8 @@ if [[ $TRAVIS_PULL_REQUEST == 'false' && $EXIT_STATUS -eq 0
6969
# Tag the Profile Repo
7070
git clone https://${GH_TOKEN}@github.com/grails/grails-profile-repository.git
7171
cd grails-profile-repository
72-
echo "grailsVersion=${TRAVIS_TAG:1}" > profiles/gradle.properties
73-
git add profiles/gradle.properties
74-
git commit -m "Release $TRAVIS_TAG profile"
72+
git branch --track 3.1.x remotes/origin/3.1.x
73+
git checkout 3.1.x
7574
git tag $TRAVIS_TAG
7675
git push --tags
7776
git push
@@ -80,6 +79,8 @@ if [[ $TRAVIS_PULL_REQUEST == 'false' && $EXIT_STATUS -eq 0
8079
cd ..
8180
git clone https://${GH_TOKEN}@github.com/grails/grails-doc.git grails-doc
8281
cd grails-doc
82+
git branch --track 3.1.x remotes/origin/3.1.x
83+
git checkout 3.1.x
8384

8485
echo "grails.version=${TRAVIS_TAG:1}" > gradle.properties
8586
git add gradle.properties

0 commit comments

Comments
 (0)