Skip to content

fix(ci): include man page in generated Homebrew formula#101

Merged
vmvarela merged 2 commits intomasterfrom
issue-100/fix-homebrew-man-page
Mar 20, 2026
Merged

fix(ci): include man page in generated Homebrew formula#101
vmvarela merged 2 commits intomasterfrom
issue-100/fix-homebrew-man-page

Conversation

@vmvarela
Copy link
Owner

Summary

  • The update-homebrew job in release.yml generates the Homebrew formula from an inline template but was missing the resource "man" block and the man1.install call.
  • As a result, brew install sql-pipe installed the binary but not the man page.
  • This PR adds the SHA256 computation for sql-pipe.1.gz and patches the template to include the man page resource and its installation.

Changes

  • Compute SHA_MAN from artifacts/sql-pipe.1.gz alongside the binary hashes.
  • Add resource "man" block to the formula template with __SHA_MAN__ placeholder.
  • Add resource("man").stage { man1.install "sql-pipe.1.gz" } to the install block.
  • Add sed substitution for __SHA_MAN__.

Closes #100

The update-homebrew job template was missing the resource "man" block
and the man1.install call, so the man page was never installed via brew.

Closes #100
@vmvarela vmvarela added this to the Sprint 5 milestone Mar 20, 2026
@vmvarela vmvarela added type:bug Something isn't working priority:high Must be in the next sprint size:xs Trivial — less than 1 hour status:review In code review or waiting for feedback labels Mar 20, 2026
@github-actions github-actions bot removed the type:bug Something isn't working label Mar 20, 2026
@vmvarela vmvarela merged commit 3a150ab into master Mar 20, 2026
4 checks passed
@vmvarela vmvarela deleted the issue-100/fix-homebrew-man-page branch March 20, 2026 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority:high Must be in the next sprint size:xs Trivial — less than 1 hour status:review In code review or waiting for feedback

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: Homebrew formula generated by release workflow missing man page

1 participant