Skip to content

Automate Homebrew tap updates on release - #7

Merged
0xtlt merged 1 commit into
mainfrom
t/homebrew-tap-auto-update-242d
Jul 29, 2026
Merged

Automate Homebrew tap updates on release#7
0xtlt merged 1 commit into
mainfrom
t/homebrew-tap-auto-update-242d

Conversation

@0xtlt

@0xtlt 0xtlt commented Jul 29, 2026

Copy link
Copy Markdown
Owner

Summary

  • After each tagged release, update Formula/md2pdf.rb in 0xtlt/homebrew-tap with the new version and SHA256 checksums.
  • Add a macOS Intel (x86_64) release archive so the formula covers both Apple Silicon and Intel.
  • Document brew tap 0xtlt/tap && brew install md2pdf and the required HOMEBREW_TAP_TOKEN secret.

Setup required (one-time)

Add a repository secret on 0xtlt/md2pdf:

  • Name: HOMEBREW_TAP_TOKEN
  • Value: classic PAT or fine-grained token with Contents: Read and write on 0xtlt/homebrew-tap

Without the secret, releases still publish; the tap job skips with a warning.

First tap publish

The next v* tag after merge will create Formula/md2pdf.rb in the tap (this agent cannot write to homebrew-tap directly).

Test plan

  • Add HOMEBREW_TAP_TOKEN to repo secrets
  • Merge and cut a release tag (or re-run Release on a new tag including macOS x86_64)
  • Confirm 0xtlt/homebrew-tap gets a commit updating Formula/md2pdf.rb
  • brew tap 0xtlt/tap && brew install md2pdf && md2pdf --version
Open in Web Open in Cursor 

Add a post-release job that writes Formula/md2pdf.rb to 0xtlt/homebrew-tap,
ship a macOS Intel archive for formula coverage, and document brew install
plus the HOMEBREW_TAP_TOKEN secret.

Co-authored-by: Thomas <0xtlt@users.noreply.github.com>
@0xtlt
0xtlt marked this pull request as ready for review July 29, 2026 15:26
@cursor

cursor Bot commented Jul 29, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@0xtlt
0xtlt merged commit 12c90ce into main Jul 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants