version: version,
// all go versions >= 1.0.0 are effectively LTS
lts: (parts[0] > 0 && release.stable) || false,
- channel: release.stable && 'stable' || 'beta',
+ channel: (release.stable && 'stable') || 'beta',
date: '1970-01-01', // the world may never know
os: os,
arch: arch,
if (module === require.main) {
getAllReleases(require('@root/request')).then(function (all) {
- all = require('../_common/normalize.js')(all);
+ all = require('../_webi/normalize.js')(all);
all.releases = all.releases.slice(0, 10);
- console.log(JSON.stringify(all, null, 2));
+ console.info(JSON.stringify(all, null, 2));
});
}