'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));
});
}