Skip to content

brew upgrade doesn't pick up new formula versions #173

@BrooksFlannery

Description

@BrooksFlannery

Problem

brew upgrade onton doesn't detect new versions after a release. Running the standard upgrade flow reports the old version as already installed:

$ brew outdated onton
$ brew upgrade onton
Warning: flowglad/onton/onton 0.8.3 already installed

This happened with 0.8.7 — the formula on main was updated, but the local tap clone was stuck 20+ commits behind. brew update did not fetch the latest from the tap.

Root cause

The Homebrew tap points to the full project repo (flowglad/onton) rather than a dedicated flowglad/homebrew-onton repo. Homebrew's brew update uses an optimized fetch strategy for taps that doesn't reliably pull updates from non-standard tap repos (ones not named homebrew-* and containing lots of non-formula content).

Workaround

Manually pull the tap repo:

git -C $(brew --repo flowglad/onton) pull origin main
brew upgrade onton

Suggested fix

Create a separate flowglad/homebrew-onton repo containing only the Formula/ directory. Update the release workflow to push formula changes there. This follows the Homebrew tap convention and brew update handles these repos reliably.

Users would then install via:

brew tap flowglad/onton
brew install onton

(Same UX — Homebrew automatically resolves flowglad/onton to the flowglad/homebrew-onton repo.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions