Skip to content

Commit

Permalink
Use 4-0-maintenance branch of rspec-rails
Browse files Browse the repository at this point in the history
  • Loading branch information
pirj committed Nov 14, 2020
1 parent 6bbe2c9 commit 0480c93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion script/clone_all_rspec_repos
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if is_mri; then
clone_repo "rspec-core"
clone_repo "rspec-expectations"
clone_repo "rspec-mocks"
clone_repo "rspec-rails"
clone_repo "rspec-rails" 4-0-maintenance
clone_repo "rspec-support"

popd
Expand Down
2 changes: 1 addition & 1 deletion script/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export RUBYOPT="--disable=gem"

function clone_repo {
if [ ! -d $1 ]; then # don't clone if the dir is already there
travis_retry eval "git clone https://github.com/rspec/$1 --depth 1 --branch $MAINTENANCE_BRANCH"
travis_retry eval "git clone https://github.com/rspec/$1 --depth 1 --branch ${2:-$MAINTENANCE_BRANCH}"
fi;
}

Expand Down

0 comments on commit 0480c93

Please sign in to comment.