bugtriage: consider more point releases as in the future

There is a bug which has the Target Milestone of 5.0.15 and appears in
the Old Milestone list despite the latest 5.0.x release being 5.0.10.

This happened because we only considered the next three point releases,
so extend the list of future point releases to ten to ensure that we
include all realistic versions.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton 2025-06-19 16:10:38 +01:00 committed by Richard Purdie
parent 8c0742cac4
commit 05ef192168

View File

@ -318,8 +318,8 @@
parts.length = 3;
parts.fill(0, origlen);
// Add the next three point releases
for (let i = 0; i < 3; i++) {
// Add the next ten point releases to be sure we cover all the future releases.
for (let i = 0; i < 10; i++) {
// Let JavaScript so-called-typing ignore the fact that we're incrementing a string
parts[parts.length - 1]++;
active.push(parts.join("."));