Skip to content

Commit

Permalink
update-homebrew.sh: Check out master before deleting old branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel15 authored May 3, 2017
1 parent 24ecd84 commit 6455ffc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/update-homebrew.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ git reset --hard HEAD
git clean -fd
git fetch --prune origin
# Remove any existing branch (eg. if the previous attempt failed)
git checkout master
git branch -D yarn-$version || true
popd

Expand Down

0 comments on commit 6455ffc

Please sign in to comment.