File tree 1 file changed +5
-10
lines changed
1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -29,16 +29,11 @@ function prepare {
29
29
30
30
31
31
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 -
42
37
else
43
38
echo " -- Cloning code.angularjs.org into $REPO_DIR "
44
39
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