use stderr for errors, and expose os,arch,format release info upstream
[webi-installers/.git] / _webi / test.js
index 0240d1a2a03722461bc50a59a6255291a11fc29a..947fbb14756d9a0a5c838f1200f73aa29c228cf4 100755 (executable)
@@ -81,6 +81,9 @@ Releases.get(path.join(process.cwd(), pkgdir)).then(function (all) {
         new RegExp('^' + pkgtag).test(rel.version))
     );
   })[0];
+  rel.oses = all.oses;
+  rel.arches = all.arches;
+  rel.formats = all.formats;
 
   if (!rel) {
     console.error('Error: ❌ no release found for current os, arch, and tag');