Sdkman-cli: Bug: SDKMAN considers Grails 3.3.12 newer than 4.0.6

Created on 20 Dec 2020  ·  2Comments  ·  Source: sdkman/sdkman-cli

Bug report

Versioning issue: SDKMAN considers Grails 3.3.12 newer than 4.0.6:

$ sdk c grails
Using grails version 4.0.6

but

$ sdk ug
Upgrade:
grails (4.0.6 < 3.3.12)
Upgrade candidate(s) and set latest version(s) as default? (Y/n): _

Offering to upgrade to a previous (major) version and set it as the default is the wrong behaviour.

To reproduce

Install Grails 4.0.6, then run sdk ug.

System info

macOS 10.14.6; GNU bash, version 3.2.57(1)-release; SDKMAN 5.9.1+575.

bug

Most helpful comment

Yeah, that's a bug on our side. Last week we released both Grails 4.0.6 and 3.3.12 in that order, so 3.3.12 became the "latest" one.
This is something @puneetbehl would be able to fix :)

All 2 comments

Hi @0branch, this isn't really a bug, but rather a publishing issue by the Grails team. Most vendors are responsible for publishing (and setting the default version) of their own candidates. You should probably take this up with one of their engineers. Perhaps @ilopmar can point you to the right person.

Yeah, that's a bug on our side. Last week we released both Grails 4.0.6 and 3.3.12 in that order, so 3.3.12 became the "latest" one.
This is something @puneetbehl would be able to fix :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cmoulliard picture cmoulliard  ·  4Comments

helpermethod picture helpermethod  ·  5Comments

pshirshov picture pshirshov  ·  6Comments

OmidTahouri picture OmidTahouri  ·  7Comments

hacpai picture hacpai  ·  5Comments