treilly94 / asdf-heroku-cli

Other
1 stars 4 forks source link

Latest version of heroku-cli isn't available #3

Open xcfw opened 1 year ago

xcfw commented 1 year ago

Bug description

Latest version of heroku-cli isn't available

Steps to reproduce

$> asdf install heroku-cli latest
* Downloading heroku-cli release 7.66.1...
curl: (22) The requested URL returned error: 404
asdf-heroku-cli: Could not download https://cli-assets.heroku.com/heroku-v7.66.1/heroku-v7.66.1-linux-x64.tar.gz

Expected behavior

Installation should be successful

xcfw commented 1 year ago

Actual url for 7.66.1 is curl https://cli-assets.heroku.com/heroku-linux-x64.tar.gz. Source: https://cli-assets.heroku.com/install.sh

megatux commented 1 year ago

Seems like still is happening. Latest CLI is 8.1.3 but can't install older versions neither.

curl: (22) The requested URL returned error: 404
* Downloading heroku-cli release 8.1.3...
curl: (22) The requested URL returned error: 404
asdf-heroku-cli: Could not download https://cli-assets.heroku.com/heroku-v8.1.3/heroku-v8.1.3-linux-x64.tar.gz
megatux commented 4 months ago

I did a PR for the mise plugin here fixing the URL. Worked for me with heroku-cli@8.11.4

grail69 commented 3 months ago

So I am thinking 2 things:

  1. Are we progressing at all on implementing the url change?
  2. Should you want to install an older version, what would you need then? (or is it a latest only type of thing)