Skip to content

Commit

Permalink
Merge pull request #481 from CircleCI-Public/fix-brew-deploy
Browse files Browse the repository at this point in the history
Fix the brew deploy script
  • Loading branch information
pete-woods authored Oct 5, 2020
2 parents ffb32f3 + 373dad7 commit c7c1710
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .circleci/brew-deploy.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
#!/bin/sh
set -e

# Remove the original circleci-agent from /usr/local/bin for homebrew
rm /usr/local/bin/circleci
# Install the latest circleci from homebrew
brew update
brew install circleci

VERSION=$("$DESTDIR"/circleci version)
TAG="v$(ruby -e "puts '$VERSION'.split(/[ +]/)[0]")"
Expand Down

0 comments on commit c7c1710

Please sign in to comment.