Skip to content

Commit

Permalink
Remove Homebrew tap from goreleaser config
Browse files Browse the repository at this point in the history
Our tap is now deprecated in favor of `gh` from homebrew-core
  • Loading branch information
mislav committed Sep 7, 2020
1 parent a983131 commit 44a500e
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,32 +50,6 @@ archives:
files:
- LICENSE

brews:
- name: gh
ids: [nix]
github:
owner: github
name: homebrew-gh
skip_upload: auto
description: GitHub CLI
homepage: https://github.com/cli/cli
folder: Formula
custom_block: |
head do
url "https://github.com/cli/cli.git", :branch => "trunk"
depends_on "go"
end
install: |
system "make", "bin/gh", "manpages" if build.head?
bin.install "bin/gh"
man1.install Dir["./share/man/man1/gh*.1"]
(bash_completion/"gh.sh").write `#{bin}/gh completion -s bash`
(zsh_completion/"_gh").write `#{bin}/gh completion -s zsh`
(fish_completion/"gh.fish").write `#{bin}/gh completion -s fish`
test: |
help_text = shell_output("#{bin}/gh --help")
assert_includes help_text, "Usage:"
nfpms:
- license: MIT
maintainer: GitHub
Expand Down

0 comments on commit 44a500e

Please sign in to comment.