heroku / legacy-cli

Heroku CLI
https://cli.heroku.com
MIT License
1.36k stars 381 forks source link

Can't update a plugin #2022

Closed tnoonan-salesforce closed 7 years ago

tnoonan-salesforce commented 7 years ago

After installing a plugin using a tag I cannot update it.

Using these commands doesn't result in an update:

heroku plugins:update heroku plugins:update salesforce-alm@preview

I have to run:

heroku plugins:install salesforce-alm@preview

tnoonan-salesforce commented 7 years ago

salesforce-alm is hosted on heroku-npm.herokuapp.com

Additionally, when I list plugins by running (heroku plugins). It doesn’t list the tag name. To me, it seems like it should so users know updates are coming from the named tag not latest.

jdx commented 7 years ago

plugins:update is a command for the ruby plugins, while the documentation isn't clear on this, the command is going to go away along with the rest of the ruby code this month

jdx commented 7 years ago

you can use heroku update to update plugins

ransombriggs commented 7 years ago

@dickeyxxx this was the issue that we talked about with how dist-tags are cached for 24 hours, so heroku update appears to not work, but it would after 24 hours.