sdkman / sdkman-cli

The SDKMAN! Command Line Interface
https://sdkman.io
Apache License 2.0
6.15k stars 632 forks source link

`sdk o` doesn't want to upgrade Groovy #569

Closed hho closed 7 years ago

hho commented 7 years ago

I'm on the Beta channel of SDKMAN, using Ubuntu 16.10, Bash 4.3.46(1)

There is clearly a new Groovy release available, but sdk o doesn't seem to want to install it:

hho@hho-pc3: ~
➜ sdk o
==== BROADCAST =================================================================
* 28/04/17: Groovy 2.4.11 released on SDKMAN! #groovylang
* 26/04/17: Grails 3.2.9 released on SDKMAN! #grailsfw
* 25/04/17: Kotlin 1.1.2 released on SDKMAN! #kotlin
================================================================================

All candidates are up-to-date

hho@hho-pc3: ~
➜ sdk ls groovy

================================================================================
Available Groovy Versions
================================================================================
     2.5.0-alpha-1        2.3.7                2.1.7                2.0.1          
     2.4.9                2.3.6                2.1.6                2.0.0          
     2.4.8                2.3.5                2.1.5                1.8.9          
     2.4.7                2.3.4                2.1.4                1.8.8          
     2.4.6                2.3.3                2.1.3                1.8.7          
     2.4.5                2.3.2                2.1.2                1.8.6          
     2.4.4                2.3.11               2.1.1                1.8.5          
     2.4.3                2.3.10               2.1.0                1.8.4          
     2.4.2                2.3.1                2.0.8                1.8.3          
     2.4.11               2.3.0                2.0.7                1.8.2          
 > * 2.4.10               2.2.2                2.0.6                1.8.1          
     2.4.1                2.2.1                2.0.5                1.8.0          
     2.4.0                2.2.0                2.0.4                1.7.9          
     2.3.9                2.1.9                2.0.3                1.7.8          
     2.3.8                2.1.8                2.0.2                1.7.7          

================================================================================
+ - local version
* - installed
> - currently in use
================================================================================

hho@hho-pc3: ~
➜ sdk o

All candidates are up-to-date

hho@hho-pc3: ~
➜ sdk version

SDKMAN master+233

hho@hho-pc3: ~
➜ 
marc0der commented 7 years ago

I think they forgot to call the /default API endpoint. I think @paulk-asert might have held back making it the new default due to syncing of the binaries while publishing.

@paulk-asert want me to make 2.4.11 the new default for groovy?

marc0der commented 7 years ago

I've made 2.4.11 the new default for now.