Skip to content

Commit 0683612

Browse files
committed
Move git remote set-url from before_script phase to install phase
1 parent 4e5f290 commit 0683612

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ 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 remote set-url origin https://[email protected]/$TRAVIS_REPO_SLUG.git
3334
- git remote set-branches --add origin master
3435
- git remote set-branches --add origin develop
3536
- git fetch origin
@@ -38,7 +39,6 @@ jobs:
3839
- git checkout --force $TRAVIS_BRANCH
3940
- git config gitflow.prefix.release release/
4041
- git flow init --defaults
41-
before_script: git remote set-url origin https://[email protected]/$TRAVIS_REPO_SLUG.git
4242
script: sbt "^ release release-version $RELEASE_VERSION with-defaults"
4343
# --message option is required to suppress editor prompt
4444
after_success: git flow release finish --showcommands --push --message 'Release'

0 commit comments

Comments
 (0)