Background
PR #10 migrated .goreleaser.yml from the deprecated brews: key to homebrew_casks:. The old formula ran:
generate_completions_from_executable(bin/"praxis", "completion")
which wired bash/zsh/fish completions automatically on brew install. The cask migration dropped this and PR #10's body described it as a "Known regression" requiring users to run praxis completion <shell> manually.
Update — not actually unavoidable
Anshul flagged in PR #10 review that goreleaser's homebrew_casks does support generate_completions_from_executable (since goreleaser v2.15; we're on v2.16). So the regression is recoverable in .goreleaser.yml with ~4 lines:
homebrew_casks:
- name: praxis
# …existing config…
generate_completions_from_executable:
executable: praxis
args: [completion]
shells: [bash, zsh, fish]
Action
- Re-add
generate_completions_from_executable to .goreleaser.yml under homebrew_casks[0].
- Validate with
goreleaser check + --snapshot; confirm the generated cask emits the equivalent completion stanza.
- Confirm post-install via
brew install --cask Facets-cloud/tap/praxis on a clean Mac that praxis <TAB> works in a fresh zsh/bash session.
Why deferred
PR #10 was scoped tight to unbreaking CI. This is a follow-up that landed in the review discussion but wasn't part of the original migration. Non-blocking — users can still source completions manually via praxis completion <shell> until this lands.
Tracking per Anshul's + Pramodh's review asks.
Background
PR #10 migrated
.goreleaser.ymlfrom the deprecatedbrews:key tohomebrew_casks:. The old formula ran:which wired bash/zsh/fish completions automatically on
brew install. The cask migration dropped this and PR #10's body described it as a "Known regression" requiring users to runpraxis completion <shell>manually.Update — not actually unavoidable
Anshul flagged in PR #10 review that goreleaser's
homebrew_casksdoes supportgenerate_completions_from_executable(since goreleaser v2.15; we're on v2.16). So the regression is recoverable in.goreleaser.ymlwith ~4 lines:Action
generate_completions_from_executableto.goreleaser.ymlunderhomebrew_casks[0].goreleaser check+--snapshot; confirm the generated cask emits the equivalent completion stanza.brew install --cask Facets-cloud/tap/praxison a clean Mac thatpraxis <TAB>works in a fresh zsh/bash session.Why deferred
PR #10 was scoped tight to unbreaking CI. This is a follow-up that landed in the review discussion but wasn't part of the original migration. Non-blocking — users can still source completions manually via
praxis completion <shell>until this lands.Tracking per Anshul's + Pramodh's review asks.