feature(delta): use WEBI_UA for curl.exe
[webi-installers/.git] / pathman / releases.js
index be23f1390115058dc0fd6bb7664fb95255694f45..019ca9b1e2d95e66ae5f1cf7b89c5640554dfc03 100644 (file)
@@ -1,24 +1,18 @@
 'use strict';
 
 var github = require('../_common/gitea.js');
-var owner = 'coolaj86';
-var repo = 'go-pathman';
-var baseurl = 'https://git.coolaj86.com';
+var owner = 'root';
+var repo = 'pathman';
+var baseurl = 'https://git.rootprojects.org';
 
 module.exports = function (request) {
   return github(request, owner, repo, baseurl).then(function (all) {
-    all.releases.forEach(function (rel) {
-      // TODO name uploads with arch, duh
-      if (!rel.arch) {
-        rel.arch = 'amd64';
-      }
-    });
     return all;
   });
 };
 
 if (module === require.main) {
   module.exports(require('@root/request')).then(function (all) {
-    console.log(JSON.stringify(all, null, 2));
+    console.info(JSON.stringify(all, null, 2));
   });
 }