File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed
Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change 3333 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3434 DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
3535 DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
36+
37+ homebrew:
38+ # The newest version of code-server needs to be available on npm when this runs
39+ # otherwise, it will 404 and won't open a PR to bump version on homebrew/homebrew-core
40+ needs: npm
41+ runs-on: macos-latest
42+ steps:
43+ - uses: actions/checkout@v2
44+ - name: Configure git
45+ run: |
46+ git config user.name github-actions
47+ git config user.email github-actions@github.com
48+ - name: Bump code-server homebrew version
49+ env:
50+ HOMEBREW_GITHUB_API_TOKEN: ${{secrets.HOMEBREW_GITHUB_API_TOKEN}}
51+ run: ./ci/steps/brew-bump.sh
Original file line number Diff line number Diff line change 1+ #!/usr/bin/env bash
2+ set -euo pipefail
3+
4+ main() {
5+ cd "$(dirname "$0")/../.."
6+ # Only sourcing this so we get access to $VERSION
7+ source ./ci/lib.sh
8+ # Find the docs for bump-formula-pr here
9+ # https://github.com/Homebrew/brew/blob/master/Library/Homebrew/dev-cmd/bump-formula-pr.rb#L18
10+ brew bump-formula-pr --force --version="${VERSION}" code-server --no-browse --no-audit
11+ }
12+
13+ main "$@"
You can’t perform that action at this time.
0 commit comments