Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI wants me to upgrade to 8.0.1 but that version is not in this tap #29

Open
Mahoney opened this issue Mar 2, 2023 · 7 comments
Open

Comments

@Mahoney
Copy link

Mahoney commented Mar 2, 2023

The CLI has been printing › Warning: heroku update available from 7.68.2 to 8.x when autocompleting a -a <app_name> which is itself very irritating, making the autocomplete hard to work with, but particularly irritating because 8.0.1 isn't in this tap so I can't update to that version.

@schpet
Copy link

schpet commented Mar 8, 2023

@Mahoney fwiw i ran into a similar problem

❯ h --version
 ›   Warning: heroku update available from 7.68.2 to 7.68.3
❯ brew upgrade heroku
==> Downloading https://formulae.brew.sh/api/formula.jws.json

==> Downloading https://formulae.brew.sh/api/cask.jws.json

Warning: heroku/brew/heroku 7.68.2 already installed

and found a workaround: the heroku cli has a command to update itself, heroku update. i'd much rather use homebrew to update the heroku cli but at least the nagging prompt is gone.

@Mahoney
Copy link
Author

Mahoney commented Mar 8, 2023

That's very helpful, thanks - I'm so used to brew doing it I hadn't even thought about heroku updating itself.

Though it's only taken me to 7.69.0, still being nagged to upgrade to 8.0.1. Does 8.0.1 exist?

@schpet
Copy link

schpet commented Mar 8, 2023

i'm not sure, you'll have to check out https://github.com/heroku/cli and maybe bring up an issue there too – maybe there's some sort of cached data on your system? i wish you luck

@Mahoney
Copy link
Author

Mahoney commented Mar 8, 2023

Thanks; found this, it's a bug:
heroku/cli#995 (comment)

@kokopis
Copy link

kokopis commented May 4, 2023

So fyi apparently there's a bug in upstream CD which is preventing newer versions from being pushed to this repo in the first place:
https://github.com/heroku/cli/actions/runs/4855199069/jobs/8653859724

figured you guys might wanna check on it - I'm going to try to look into it too.

@raldred
Copy link

raldred commented Jan 4, 2024

Getting the same warning, im running 8.5.0, cli wants me to update to 8.7.1 but it's not in the tap

 ›   Warning: heroku update available from 8.5.0 to 8.7.1.

There was an issue with the tap as the default branch was renamed so I had to repair, but still not picking up the latest version.

❯ brew update
fatal: couldn't find remote ref refs/heads/master
Error: Fetching /opt/homebrew/Library/Taps/heroku/homebrew-brew failed!
Error: Some taps failed to update!
The following taps can not read their remote branches:
  heroku/brew
This is happening because the remote branch was renamed or deleted.
Reset taps to point to the correct remote branches by running `brew tap --repair`

I ran brew tap --repair and it's gotten further now, but still 8.5.0 is the latest available for me.

❯ brew upgrade heroku
Warning: heroku/brew/heroku 8.5.0 already installed

@daniely
Copy link

daniely commented Jan 11, 2024

❯ brew upgrade heroku
Warning: heroku/brew/heroku 8.5.0 already installed

I used heroku update to update to 8.7.x

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

No branches or pull requests

5 participants