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 report
Versioning issue: SDKMAN considers Grails 3.3.12 newer than 4.0.6:
but
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.