use new bootstrap + webinstall approach
[webi-installers/.git] / _common / normalize.js
index 88e3ce716adc37c75b1c30050b8ca5dca069ad9a..f2279d16a3db3775ada13efdf8db132ad0b84649 100644 (file)
@@ -34,6 +34,9 @@ var archMap = {
 
 function normalize(all) {
   all.releases.forEach(function (rel) {
+    if (!rel.name) {
+      rel.name = rel.download.replace(/.*\//, '');
+    }
     if (!rel.os) {
       rel.os =
         Object.keys(osMap).find(function (regKey) {