Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

Commit

Permalink
Support Homebrew
Browse files Browse the repository at this point in the history
Fix #9
  • Loading branch information
babarot committed Feb 10, 2020
1 parent 6c0a38e commit 41779fb
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,7 @@ jobs:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# To upload homebrew formula to other repos,
# need to set the dedicated token having enough permissions
# https://github.com/goreleaser/goreleaser/issues/982
GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}
12 changes: 12 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,15 @@ archives:
format: zip
release:
prerelease: auto

# https://goreleaser.com/customization/#Homebrew
brews:
- github:
owner: b4b4r07
name: homebrew-tap
folder: Formula
homepage: https://github.com/b4b4r07/stein
description: A linter for config files with a customizable rule set
skip_upload: auto
test: |
system "#{bin}/stein", "--version"

0 comments on commit 41779fb

Please sign in to comment.