downloads: check that release names begin with geth (#17212)

This commit is contained in:
Anton Evangelatov 2018-07-24 12:39:45 +02:00 committed by Felix Lange
parent 1f8484818b
commit 680f715585
1 changed files with 6 additions and 0 deletions

View File

@ -332,6 +332,12 @@
signatures[name] = true;
continue;
}
// Skip any blobs that do not start with "geth"
if (!name.startsWith("geth")) {
continue;
}
// Otherwise add an entry to one of the release tables
var parts = name.split("-");
var date = parts[parts.length-1].split(".")[0];