Skip to content

Commit e8f9cbf

Browse files
chore(bower): set clone depth to speed up releases
We already use `git clone ... --depth=1` for the `code.angularjs.org` repository, which speeds up the cloning of the repository.
1 parent d4863a8 commit e8f9cbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/bower/publish.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function prepare {
2727
for repo in "${REPOS[@]}"
2828
do
2929
echo "-- Cloning bower-$repo"
30-
git clone git@github.com:angular/bower-$repo.git $TMP_DIR/bower-$repo
30+
git clone git@github.com:angular/bower-$repo.git $TMP_DIR/bower-$repo --depth=1
3131
done
3232

3333

0 commit comments

Comments
 (0)