add gitea and pathman
[webi-installers/.git] / pathman / releases.js
diff --git a/pathman/releases.js b/pathman/releases.js
new file mode 100644 (file)
index 0000000..e57e5d3
--- /dev/null
@@ -0,0 +1,18 @@
+'use strict';
+
+var github = require('../_common/gitea.js');
+var owner = 'coolaj86';
+var repo = 'go-pathman';
+var baseurl = 'https://git.coolaj86.com'
+
+module.exports = function (request) {
+  return github(request, owner, repo, baseurl).then(function (all) {
+    return all;
+  });
+};
+
+if (module === require.main) {
+  module.exports(require('@root/request')).then(function (all) {
+    console.log(JSON.stringify(all, null, 2));
+  });
+}