bugfix stable channel
authorAJ ONeal <aj@therootcompany.com>
Sun, 3 May 2020 04:55:11 +0000 (04:55 +0000)
committerAJ ONeal <aj@therootcompany.com>
Sun, 3 May 2020 04:55:11 +0000 (04:55 +0000)
golang/releases.js

index 0f5e80063296cec75a42b5dbce78e37e268202a8..e86ef63a04c78c42c775c5fc651ed773daf47324 100644 (file)
@@ -52,7 +52,7 @@ function getAllReleases(request) {
           version: version,
           // all go versions >= 1.0.0 are effectively LTS
           lts: (parts[0] > 0 && release.stable) || false,
-          channel: release.stable || 'beta',
+          channel: release.stable && 'stable' || 'beta',
           date: '1970-01-01', // the world may never know
           os: os,
           arch: arch,