-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #400 from CircleCI-Public/deployment
Fix interactive terminal issue
- Loading branch information
Showing
3 changed files
with
6 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,14 @@ | ||
#!/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]")" | ||
REVISION=$(git rev-parse "$(ruby -e "puts '$VERSION'.split('+')[1]")") | ||
echo "Bumping circleci to $TAG+$REVISION" | ||
brew bump-formula-pr --strict \ | ||
--tag="$TAG" \ | ||
--revision="$REVISION" \ | ||
circleci | ||
brew bump-formula-pr --strict --tag="$TAG" --revision="$REVISION" circleci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters