Skip to content

Commit ccc8c01

Browse files
committed
Update brew publishing
1 parent 6d45248 commit ccc8c01

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.goreleaser.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ nfpms:
7878
contents:
7979
- src: man/man1/*.1.gz
8080
dst: /usr/share/man/man1/
81-
homebrew_casks:
81+
brews:
8282
- name: hypeman
8383
repository:
8484
owner: onkernel
@@ -87,10 +87,11 @@ homebrew_casks:
8787
homepage: https://github.com/onkernel/hypeman
8888
description: orchestrate cloud-hypervisor VMs
8989
license: Apache-2.0
90-
binary: "hypeman"
91-
completions:
92-
bash: "completions/hypeman.bash"
93-
zsh: "completions/hypeman.zsh"
94-
fish: "completions/hypeman.fish"
95-
manpages:
96-
- man/man1/hypeman.1.gz
90+
install: |
91+
bin.install "hypeman"
92+
bash_completion.install "completions/hypeman.bash" => "hypeman"
93+
zsh_completion.install "completions/hypeman.zsh" => "_hypeman"
94+
fish_completion.install "completions/hypeman.fish"
95+
man1.install Dir["man/man1/*.1.gz"]
96+
test: |
97+
system "#{bin}/hypeman", "--version"

0 commit comments

Comments
 (0)