asdf-community/asdf-clojure

Wrong regex to match versions

Opened this issue · 3 comments

The regex that matches available versions in list-all seems to be wrong:

grep -E '[0-9].[0-9].[0-9].[0-9]'

Assuming that Clojure versions should be composed of 4 numeric parts separated by dots, it should be something like [0-9]+\.[0-9]+\.[0-9]+\.[0-9]+.

& I note that asdf list-all clojure isn't finding the 1.11 versions. Which I would assume was related to this, but it's seeing 1.10 and I don't see how that would work but 1.11 wouldn't 🤔

Although actually just running the list-all script does include the 1.11 versions, so I'm not sure what's going on there.

Ignore my comments -- I just needed to asdf plugin update clojure to get 1.11 versions, so that's unrelated to @acidghost 's point. Never mind!