Skip to content

fix: update both homebrew formula and cask on release#250

Merged
TimPietruskyRunPod merged 2 commits intomainfrom
fix/homebrew-update-both-formula-and-cask
Mar 6, 2026
Merged

fix: update both homebrew formula and cask on release#250
TimPietruskyRunPod merged 2 commits intomainfrom
fix/homebrew-update-both-formula-and-cask

Conversation

@TimPietruskyRunPod
Copy link
Member

Summary

  • Adds back the homebrew_casks section to .goreleaser.yml alongside the existing brews (formula) section
  • On each release, GoReleaser will now open two PRs on runpod/homebrew-runpodctl: one for the formula (runpodctl.rb at root) and one for the cask (Casks/runpodctl.rb)
  • Uses separate branch names (runpodctl-<version> for formula, runpodctl-cask-<version> for cask) to avoid conflicts

Context

PR #248 switched from cask to formula, but users who installed via brew install --cask would stop getting updates. This ensures both installation methods stay in sync.

Test plan

  • Merge this PR and create a new release tag
  • Verify two PRs are opened on runpod/homebrew-runpodctl — one updating the formula, one updating the cask
  • Verify both PRs have correct versions and SHA256 hashes

goreleaser was only updating the formula after PR #248 switched from
cask to formula. this adds the homebrew_casks section back so both
are kept in sync on every release. uses a separate branch name
(runpodctl-cask-<version>) to avoid conflicts with the formula PR.
adds a meaningful PR body to both formula and cask PRs with a link
to the release and the auto-generated changelog, replacing the
generic "automated with goreleaser" message. also sets the formula
description field.
@justinwlin justinwlin self-requested a review March 5, 2026 13:33
@TimPietruskyRunPod TimPietruskyRunPod merged commit e6a9e90 into main Mar 6, 2026
1 check passed
@TimPietruskyRunPod TimPietruskyRunPod deleted the fix/homebrew-update-both-formula-and-cask branch March 6, 2026 11:23
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