chore(release): simplify scripts so that they can be tested locally

The `git fetch --all` resulted in an error if in the local `.gitconfig`
a remote was configured that does not exist in the bower/code.anguarjs.org
repositories (e.g. "remote "upstream-prs"").
This commit is contained in:
Tobias Bosch
2014-03-26 15:54:30 -07:00
parent 16862705e1
commit fedc4194d9
2 changed files with 0 additions and 12 deletions

View File

@@ -38,12 +38,6 @@ function prepare {
#
echo "-- Updating code.angularjs.org"
mkdir $REPO_DIR/$NEW_VERSION
cd $REPO_DIR
git reset --hard HEAD
git checkout master
git fetch --all
git reset --hard origin/master
cd $SCRIPT_DIR
cp -r $BUILD_DIR/* $REPO_DIR/$NEW_VERSION/
#