mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-08-23 22:16:48 +00:00
fix caddy bin location, generically remove leading 'v'
This commit is contained in:
@@ -35,6 +35,7 @@ var archMap = {
|
||||
|
||||
function normalize(all) {
|
||||
all.releases.forEach(function (rel) {
|
||||
rel.version = rel.version.replace(/^v/i, '');
|
||||
if (!rel.name) {
|
||||
rel.name = rel.download.replace(/.*\//, '');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user