mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-08-23 22:16:48 +00:00
fix(zig): use semver version for beta / 'master'
This commit is contained in:
+2
-1
@@ -11,6 +11,7 @@ module.exports = function (request) {
|
||||
let refs = Object.keys(versions);
|
||||
refs.forEach(function (ref) {
|
||||
let pkgs = versions[ref];
|
||||
let version = pkgs.version || ref;
|
||||
|
||||
// "platform" = arch + os combo
|
||||
let platforms = Object.keys(pkgs);
|
||||
@@ -36,7 +37,7 @@ module.exports = function (request) {
|
||||
}
|
||||
|
||||
let p = {
|
||||
version: ref,
|
||||
version: version,
|
||||
date: pkgs.date,
|
||||
channel: 'stable',
|
||||
// linux, macos, windows
|
||||
|
||||
Reference in New Issue
Block a user