Skip to content

Add Homebrew cask auto-update on release#4

Merged
GrigoriLab merged 1 commit into
mainfrom
add-homebrew-cask-update
Feb 5, 2026
Merged

Add Homebrew cask auto-update on release#4
GrigoriLab merged 1 commit into
mainfrom
add-homebrew-cask-update

Conversation

@GrigoriLab

Copy link
Copy Markdown
Collaborator

Summary

  • Add update-homebrew-cask job to build-release.yml that runs after the Mac build on release events
  • Downloads the DMG artifact, computes SHA256, and dispatches a repository_dispatch to softorize/homebrew-tap to auto-update the PostAI cask

Prerequisites

  • Create a PAT with contents:write scope on softorize/homebrew-tap
  • Store it as TAP_GITHUB_TOKEN secret in this repo's settings
  • Merge homebrew-tap PR #2 first

Test plan

  • Merge homebrew-tap PR first
  • Create a test release → verify cask auto-updates in homebrew-tap
  • brew tap softorize/tap && brew install --cask postai works with updated version

🤖 Generated with Claude Code

Add update-homebrew-cask job to build-release workflow that:
- Downloads the DMG after the Mac build completes
- Computes its SHA256 hash
- Dispatches a repository_dispatch event to softorize/homebrew-tap
  to automatically update the PostAI cask

Requires TAP_GITHUB_TOKEN secret with contents:write on homebrew-tap.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@GrigoriLab GrigoriLab merged commit f78c5b5 into main Feb 5, 2026
1 of 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.

1 participant