Skip to content

feat: install and update StableBar with Homebrew - #330

Merged
Seb-GRAF merged 1 commit into
mainfrom
feat/homebrew-tap
Oct 26, 2026
Merged

Seb-GRAF merged 1 commit into
mainfrom
feat/homebrew-tap

Conversation

@Seb-GRAF

Copy link
Copy Markdown
Owner

Problem

SketchyBar, AeroSpace and yabai users install those tools with Homebrew, but StableBar is only a DMG on the releases page. Fixes #77.

Changes

  • Release job. After the update feed, a stable release clones Seb-GRAF/homebrew-tap, sets the stablebar cask's version and sha256 from .next-version and dist/StableBar.dmg, and pushes. It uses a new secret, HOMEBREW_TAP_TOKEN: a fine-grained token scoped to Seb-GRAF/homebrew-tap only, with Contents: Read and write. Betas don't touch the tap.
  • README and Getting started. Both give brew install --cask seb-graf/tap/stablebar.
  • CONTRIBUTING.md. The release section names the tap and the secret.

Before the next stable release:

  1. Create the public repository Seb-GRAF/homebrew-tap with Casks/stablebar.rb (version 0.8.0, auto_updates true, Apple silicon, macOS 14+, notarized DMG) and a short README. Both are ready locally for review.
  2. Add the HOMEBREW_TAP_TOKEN secret to this repository.

Without them, the new step fails at the end of the release job, after the GitHub release and the update feed are already published.

Testing

  • brew style on the cask: no offenses.
  • Tapped the cask from a local directory under a throwaway name and ran brew audit --cask --strict --online: no problems, including the download, the SHA-256 of the v0.8.0 DMG and the signature check. Then untapped it. I didn't run brew install.
  • Ran the step's sed command on a copy of the cask: it changes only the version and sha256 lines.
  • The workflow step itself can't run until the tap and secret exist; it runs on the next stable release.

Merging

A single commit; any merge method works.

Claude Opus 5.5 via Claude Code (T3 Code)

@Seb-GRAF
Seb-GRAF requested a review from M4n0x as a code owner October 26, 2026 13:08
@Seb-GRAF
Seb-GRAF merged commit d36c937 into main Oct 26, 2026
7 checks passed
@Seb-GRAF
Seb-GRAF deleted the feat/homebrew-tap branch October 26, 2026 14:02
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.

Install and update StableBar with Homebrew

1 participant