Skip to content

Commit

Permalink
Merge pull request #125 from CircleCI-Public/brew-path
Browse files Browse the repository at this point in the history
Add homebrew to PATH
  • Loading branch information
Zachary Scott authored Sep 22, 2018
2 parents adc58e5 + 5fca921 commit e667f6a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ jobs:
- checkout
- run: |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
- run: |
echo 'export PATH=/home/linuxbrew/.linuxbrew/bin:$PATH' >> $BASH_ENV
- run: brew --version
- run: |
docker run -v $PWD:/go/src/github.com/CircleCI-Public/circleci-cli \
-w /go/src/github.com/CircleCI-Public/circleci-cli \
Expand All @@ -141,7 +144,7 @@ jobs:
export VERSION=$(./dist/linux_amd64/circleci version | sed s/\+/\\n/g | head -n 1)
export REVISION=$(git rev-parse $(./dist/linux_amd64/circleci version | sed s/\+/\\n/g | head -2 | tail -1))
echo "Bumping circleci to $VERSION+$REVISION"
/home/linuxbrew/.linuxbrew/bin/brew bump-formula-pr --strict \
brew bump-formula-pr --strict \
--tag=$VERSION \
--revision=$CIRCLE_SHA1 \
circleci
Expand Down Expand Up @@ -172,7 +175,7 @@ workflows:
weekly:
triggers:
- schedule:
cron: "45 2 * * 6"
cron: "0 3 * * 6"
filters:
branches:
only:
Expand Down

0 comments on commit e667f6a

Please sign in to comment.