Hey Infracost team It looks like the <https://infr...
# help
s
Hey Infracost team It looks like the https://infracost.io/downloads/latest URL is currently broken following the recent changes to the Infracost CLI I also found multiple references to this URL across your repos, for example: https://github.com/search?q=org%3Ainfracost%20https%3A%2F%2Finfracost.io%2Fdownloads%2F&amp;type=code Might be worth updating or redirecting these to the correct location to avoid issues for users relying on the old link. Thanks!
🙏 1
1
s
Hi Abhinav - Apologies! We're working through releasing the new version. Thanks for the note, we'll get all those updated ASAP!
s
it's breaking again
abhinav.kumar@xxxxxxxx ~ % curl -I -LsS <https://infracost.io/downloads/latest/infracost-linux-amd64> | grep location
location: https://www.infracost.io/downloads/latest/infracost-linux-amd64 location: https://github.com/infracost/cli/releases/latest/download/infracost-linux-amd64 location: https://github.com/infracost/cli/releases/download/v2.0.0/infracost-linux-amd64
w
Hi @square-action-43499 - sorry for the delay! You need to specify the extension as well:
<https://www.infracost.io/downloads/latest/infracost-linux-amd64.tar.gz>
. I don't think it should have worked before without the extension, but if you think it did then let me know as that would have been an unintentional change.
also note that
latest
now points to v2.0.0 which has some breaking changes compared to the earlier versions - you can pin to
v0.10.44
if you need to main the prior behaviour. Thanks!
s
Just to clarify my earlier message, the curl command was only meant to show the redirect chain. When hitting
latest
, the redirect goes to the
infracost/cli
repo and resolves to v2.0.0. When hitting
v0.10.44
, it correctly redirects to the
infracost/infracost
repo. Looks like the team has already pushed a fix, so this should be good from the next release onward: https://github.com/infracost/infracost/commit/90323984e6ad00c918163229255bfac3bac7505c
🙌 1