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

@@ -50,12 +50,6 @@ function prepare {
if [ -f $BUILD_DIR/$repo.js ] # ignore i18l
then
echo "-- Updating files in bower-$repo"
cd $TMP_DIR/bower-$repo
git reset --hard HEAD
git checkout master
git fetch --all
git reset --hard origin/master
cd $SCRIPT_DIR
cp $BUILD_DIR/$repo.* $TMP_DIR/bower-$repo/
fi
done