add gitdeploy

This commit is contained in:
AJ ONeal
2020-10-20 20:45:51 -06:00
parent 912c9c8f06
commit 71e67540a1
4 changed files with 273 additions and 0 deletions

19
gitdeploy/releases.js Normal file
View File

@@ -0,0 +1,19 @@
'use strict';
var github = require('../_common/github.js');
var owner = 'therootcompany';
var repo = 'gitdeploy';
module.exports = function (request) {
return github(request, owner, repo).then(function (all) {
// remove checksums and .deb
return all;
});
};
if (module === require.main) {
module.exports(require('@root/request')).then(function (all) {
all = require('../_webi/normalize.js')(all);
console.info(JSON.stringify(all));
});
}