mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 19:00:46 +00:00
downloads: check that release names begin with geth (#17212)
This commit is contained in:
parent
1f8484818b
commit
680f715585
1 changed files with 6 additions and 0 deletions
|
|
@ -332,6 +332,12 @@
|
||||||
signatures[name] = true;
|
signatures[name] = true;
|
||||||
continue;
|
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
|
// Otherwise add an entry to one of the release tables
|
||||||
var parts = name.split("-");
|
var parts = name.split("-");
|
||||||
var date = parts[parts.length-1].split(".")[0];
|
var date = parts[parts.length-1].split(".")[0];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue