Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,20 @@ jobs:
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}

bump-formula:
needs: [release]
runs-on: ubuntu-latest
steps:
- name: Bump Homebrew formula
uses: mislav/bump-homebrew-formula-action@v3
with:
formula-name: band
formula-path: Formula/band.rb
homebrew-tap: Bandwidth/homebrew-tap
base-branch: main
download-url: https://github.com/Bandwidth/cli/archive/refs/tags/${{ github.ref_name }}.tar.gz
commit-message: |
{{formulaName}} {{version}}
env:
COMMITTER_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}
20 changes: 0 additions & 20 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,26 +51,6 @@ docker_manifests:
- "ghcr.io/bandwidth/cli:{{ .Version }}-amd64"
- "ghcr.io/bandwidth/cli:{{ .Version }}-arm64"

brews:
- name: band
directory: Formula
repository:
owner: Bandwidth
name: homebrew-tap
branch: "band-{{.Version}}"
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
pull_request:
enabled: true
base:
branch: main
homepage: "https://github.com/Bandwidth/cli"
description: "Bandwidth CLI — manage voice, messaging, numbers, and more from the command line"
license: "MIT"
install: |
bin.install "band"
test: |
system "#{bin}/band", "version"

changelog:
sort: asc
filters:
Expand Down
Loading