Skip to content

Commit

Permalink
Added “brews” to .goreleaser.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rykov committed Aug 10, 2021
1 parent d38eabb commit 34075e4
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ jobs:
version: latest
args: release --rm-dist
env:
BREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33 changes: 33 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,36 @@ changelog:

release:
draft: true

brews:
-
# Name template of the recipe
name: fury-cli

# GitHub repository to receive formula
tap:
owner: gemfury
name: homebrew-tap
token: "{{ .Env.BREW_TAP_GITHUB_TOKEN }}"

# Git author used to commit to the repository.
commit_author:
email: [email protected]
name: goreleaser

# Folder inside the repository to put the formula.
folder: Formula

# App's homepage.
homepage: "https://gemfury.com/"

# App's description.
description: "CLI For Gemfury Package Repository"

# Conflicts with Ruby CLI
conflicts:
- gemfury

# Run to `brew test` the formula.
test: |
system "#{bin}/fury --version"

0 comments on commit 34075e4

Please sign in to comment.