Skip to content

Commit e595138

Browse files
authored
releaser/tap: Install completions (#540)
Sets up the Homebrew tap to also install shell completions generated from the `gs` executable.
1 parent 3226446 commit e595138

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
kind: Added
2+
body: The Homebrew tap will now install shell completions automatically.
3+
time: 2025-01-03T05:25:35.890095-08:00

.goreleaser.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ brews:
6868
description: "A tool for stacking Git branches."
6969
license: "GPL-3.0-or-later"
7070
skip_upload: auto
71+
install: |
72+
bin.install "gs"
73+
generate_completions_from_executable(bin/"gs", "shell", "completion")
7174
test: |
7275
system "#{bin}/gs --version"
7376

0 commit comments

Comments
 (0)