From: AJ ONeal Date: Sun, 3 May 2020 04:52:04 +0000 (+0000) Subject: correctly detect stable X-Git-Url: https://git.josue.xyz/?a=commitdiff_plain;h=2083ef41197207aaa39b83a6b75155d214079507;p=webi-installers%2F.git correctly detect stable --- diff --git a/golang/releases.js b/golang/releases.js index 7cc87cb..0f5e800 100644 --- a/golang/releases.js +++ b/golang/releases.js @@ -51,8 +51,8 @@ function getAllReleases(request) { all.releases.push({ version: version, // all go versions >= 1.0.0 are effectively LTS - lts: (parts[0] > 0 && asset.stable) || false, - channel: asset.stable || 'beta', + lts: (parts[0] > 0 && release.stable) || false, + channel: release.stable || 'beta', date: '1970-01-01', // the world may never know os: os, arch: arch,