goenv
goenv copied to clipboard
Using xxenv-latest for goenv latest --print does not work in 2.2.0
Hi, we were using goenv latest --print 1.20 to get the latest downloadable go version in, for example, 1.20.
Now, the command fails:
$ goenv latest --print 1.20
goenv: no versions installed
git bisect shows that this commit broke this feature: d8de3f4b6a722abacb9da27c970d8308449a5a8d
Now, i don’t know how to get the latest downloadable version. What’s the recommended way ?
@reneleonhardt can you look into this?
FYI i found a workaround since, by calling directly the goenv-latest plugin instead of calling goenv. See https://github.com/YunoHost/yunohost/blob/9083a5cc3d0685d71d7856439a35ea3dab480263/helpers/helpers.v2.1.d/go#L100
I will look into this tonight, thank you for reporting it!
I think this may be resolved @Salamandar in the latest release. Can you confirm?
oopsies, did not see your message. As i said, I had found a workaround, but I'll check it out (once i'm back from CCC).
Ok, we can reopen if it's not resolved