File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed
Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -29,16 +29,11 @@ function prepare {
2929
3030
3131 if [ -d " $REPO_DIR " ]; then
32- # TODO(i): it's not clear how to safely fetch and update a shallow clone
33- # I'll need to test this during the next release
34- echo " -- TODO: Update code.angularjs.org repo at $REPO_DIR "
35- echo " -- TODO: if pushing the 'publish' action fails, rebase the repo manually and push"
36- echo " -- TODO: or delete $REPO_DIR and rerun the prepare and publish steps"
37- # cd $REPO_DIR
38- # git fetch --update-shallow origin
39- # git checkout master
40- # git merge --ff-only origin/master
41- # cd -
32+ cd $REPO_DIR
33+ git fetch --update-shallow origin
34+ git checkout master
35+ git merge --ff-only origin/master
36+ cd -
4237 else
4338 echo " -- Cloning code.angularjs.org into $REPO_DIR "
4439 git clone git@github.com:angular/code.angularjs.org.git $REPO_DIR --depth=1
You can’t perform that action at this time.
0 commit comments