Skip to content

fix: drop deprecated depends_on macos string in the cask - #11

Merged
TerrifiedBug merged 1 commit into
mainfrom
fix/cask-depends-on-macos
Aug 27, 2026
Merged

fix: drop deprecated depends_on macos string in the cask#11
TerrifiedBug merged 1 commit into
mainfrom
fix/cask-depends-on-macos

Conversation

@TerrifiedBug

Copy link
Copy Markdown
Owner

brew info --cask terrifiedbug/tap/browseroute on the freshly published 0.1.0 cask warns:

Warning: Calling string comparison format for `depends_on macos:` is deprecated!
Use `depends_on macos: :sonoma` instead.

A bare symbol already means minimum version, so the generated cask uses that. The published Casks/browseroute.rb is corrected in place too, so the current release installs without the warning rather than waiting for 0.1.1.

Homebrew warns on every install: "Calling string comparison format for
depends_on macos: is deprecated! Use depends_on macos: :sonoma instead."
A bare symbol already means minimum version.
@TerrifiedBug
TerrifiedBug merged commit 1db5b43 into main Aug 27, 2026
1 check 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