* fix(#1838): exclude backlog 999.x milestone phases * chore(#1838): add changeset fragment
This commit is contained in:
@@ -1189,6 +1189,7 @@ function cmdInitMilestoneOp(cwd: string, raw: boolean): void {
|
||||
const phasePattern = /#{2,4}\s*Phase\s+(\d+[A-Z]?(?:\.\d+)*)\s*:/gi;
|
||||
let m: RegExpExecArray | null;
|
||||
while ((m = phasePattern.exec(currentSection)) !== null) {
|
||||
if (/^999(?:\.|$)/.test(m[1])) continue;
|
||||
roadmapPhaseNumbers.push(m[1]);
|
||||
}
|
||||
} catch {
|
||||
|
||||
Reference in New Issue
Block a user