projects
/
webi-installers
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
101308b
)
add default arch amd64
author
AJ ONeal
<aj@therootcompany.com>
Sun, 3 May 2020 10:52:48 +0000
(10:52 +0000)
committer
AJ ONeal
<aj@therootcompany.com>
Sun, 3 May 2020 10:52:48 +0000
(10:52 +0000)
pathman/releases.js
patch
|
blob
|
history
diff --git
a/pathman/releases.js
b/pathman/releases.js
index 26d23c211a408a75bc709b809e641b74572675a2..be23f1390115058dc0fd6bb7664fb95255694f45 100644
(file)
--- a/
pathman/releases.js
+++ b/
pathman/releases.js
@@
-7,6
+7,12
@@
var baseurl = 'https://git.coolaj86.com';
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;
});
};