projects
/
webi-installers
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bugfix(vim-shfmt): fix package name
[webi-installers/.git]
/
pathman
/
releases.js
diff --git
a/pathman/releases.js
b/pathman/releases.js
index be23f1390115058dc0fd6bb7664fb95255694f45..019ca9b1e2d95e66ae5f1cf7b89c5640554dfc03 100644
(file)
--- a/
pathman/releases.js
+++ b/
pathman/releases.js
@@
-1,24
+1,18
@@
'use strict';
var github = require('../_common/gitea.js');
'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) {
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) {
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));
});
}
});
}