Skip to content

Commit 4e5f290

Browse files
committed
Initialize git flow
1 parent 764e2e9 commit 4e5f290

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.travis.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,14 @@ jobs:
3030
- wget --no-check-certificate -q https://raw.githubusercontent.com/petervanderdoes/gitflow-avh/develop/contrib/gitflow-installer.sh
3131
- sudo bash gitflow-installer.sh install stable
3232
install:
33-
- git checkout -qf $TRAVIS_BRANCH
33+
- git remote set-branches --add origin master
34+
- git remote set-branches --add origin develop
35+
- git fetch origin
36+
- git checkout --force -b master --track origin/master
37+
- git checkout --force -b develop --track origin/develop
38+
- git checkout --force $TRAVIS_BRANCH
39+
- git config gitflow.prefix.release release/
40+
- git flow init --defaults
3441
before_script: git remote set-url origin https://[email protected]/$TRAVIS_REPO_SLUG.git
3542
script: sbt "^ release release-version $RELEASE_VERSION with-defaults"
3643
# --message option is required to suppress editor prompt

0 commit comments

Comments
 (0)