Skip to content

Commit

Permalink
chore(cli): Add brew to goreleaser (#87)
Browse files Browse the repository at this point in the history
* chore(cli): Add brew to goreleaser

* Bump go and setup-go versions

* Assert with binary version

* Update regex for testing
  • Loading branch information
raulb authored Mar 16, 2021
1 parent 6966e7d commit 982553f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
run: git fetch --prune --unshallow
-
name: Set up Go
uses: actions/setup-go@v1
uses: actions/setup-go@v2
with:
go-version: 1.13.x
go-version: 1.16.x
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v1
Expand Down
16 changes: 16 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,22 @@ archives:
windows: Windows
386: i386
amd64: x86_64
brews:
-
name: meroxa
tap:
owner: meroxa
name: homebrew-taps
homepage: https://meroxa.io
description: The Meroxa CLI
folder: Formula
license: "Apache 2.0"
custom_block: |
head "https://github.com/meroxa/cli.git"
install: |
bin.install "meroxa"
test: |
shell_output("#{bin}/meroxa version").match(/{{ .Tag }}/)
checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down

0 comments on commit 982553f

Please sign in to comment.