Skip to content

Commit

Permalink
Homebrew Release (#27)
Browse files Browse the repository at this point in the history
Updates goreleaser to push a formula to our homebrew-tools tap.
  • Loading branch information
bbengfort committed Sep 23, 2021
1 parent a2808ff commit 7400021
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,5 @@ jobs:
args: release --rm-dist
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
HOMEBREW_TAP_GITHUB_TOKEN: ${{secrets.HOMEBREW_TAP_GITHUB_TOKEN}}
20 changes: 20 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,23 @@ source:
signs:
- artifacts: checksum
args: ["--batch", "-u", "{{ .Env.GPG_FINGERPRINT }}", "--output", "${signature}", "--detach-sign", "${artifact}"]

# Publish a homebrew formulae on our brew tap
brews:
-
name: whisper
tap:
owner: rotationalio
name: homebrew-tools
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"

commit_author:
name: Rotational Labs
email: info@

homepage: "https://whisper.rotational.dev"
description: "Create and fetch whisper secret messages and files via the command line."
license: "Apache-2.0"

test: |
system "#{bin}/whisper --version"

0 comments on commit 7400021

Please sign in to comment.