Skip to content

FeatureReq-make brew bump-cask-pr do brew tap homebrew/homebrew-cask --force if not already exists #19119

@shemeshg

Description

@shemeshg

Verification

Description of issue

Feature request,
if brew bump-cask-pr produce error of

Error: This cask's tap is not a Git repository!

Then brew bump-cask-pr will automatically fix it with
brew tap homebrew/homebrew-cask --force

Command that failed

brew bump-cask-pr

Output of command with --verbose --debug

/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromInstalledPathLoader): loading cakebrewjs
Error: This cask's tap is not a Git repository!
Error: Kernel.exit
Warning: Removed Sorbet lines from backtrace!
Rerun with `--verbose` to see the original backtrace
/opt/homebrew/Library/Homebrew/extend/kernel.rb:107:in `exit'
/opt/homebrew/Library/Homebrew/extend/kernel.rb:107:in `odie'
/opt/homebrew/Library/Homebrew/dev-cmd/bump-cask-pr.rb:78:in `run'
/opt/homebrew/Library/Homebrew/brew.rb:94:in `<main>'

Output of brew doctor and brew config

all clean and good

Output of brew tap

I've already fixed that
so I do have now alraady

`homebrew/cask`

Metadata

Metadata

Assignees

No one assigned

    Labels

    featuresNew featureshelp wantedWe want help addressing this

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions