Switch to git
protocol for CI dependencies
If you try to clone a repo that doesn't exist via `https`, `git` will prompt for auth credentials and hang forever. Using `git` avoids this and fails immediately instead, which is what we want for a missing repo. Part of https://github.com/vector-im/riot-web/issues/9221
This commit is contained in:
parent
82d7457168
commit
52ad757cf4
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ function clone() {
|
|||
if [ -n "$branch" ]
|
||||
then
|
||||
echo "Trying to use $org/$repo#$branch"
|
||||
git clone https://github.com/$org/$repo.git $repo --branch $branch \
|
||||
git clone git://github.com/$org/$repo.git $repo --branch $branch \
|
||||
"${GIT_CLONE_ARGS[@]}"
|
||||
return $?
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue