asdf - How to install version by providing full github url

Viewed 19

Good Day. I'm trying to use asdf for the first time for Hugo SSG. MacOS 12.6 (M1).

This works fine asdf plugin add hugo https://github.com/nklmilojevic/asdf-hugo.git

However when I try to install a version it fails. I thought it might be an ssl issue with curl, but I don' think so after some debugging.

% asdf install hugo 0.92.1
* Downloading hugo release 0.92.1...
curl: (22) The requested URL returned error: 404
asdf-hugo: Could not download https://github.com/gohugoio/hugo/releases/download/v0.92.1/hugo_0.92.1_macOS-universal.tar.gz

Of course it fails because there is no such file on github. The correct file on github is hugo_extended_0.92.1_macOS-ARM64.tar.gz.

Same is true for % asdf install hugo latest wants to retrieve hugo_0.103.1_macOS-universal.tar.gz. It looks like hugo move all macOS versions to Darwin. ???

So, Question, How can I over-ride what asdf is looking for? Something like: asdf install hugo -file https://github......

0 Answers
Related