docs: update supported versions to match new release cadence (#30121)
This commit is contained in:
parent
b2da2f759a
commit
4b780f9770
3 changed files with 3 additions and 1 deletions
|
@ -165,7 +165,7 @@ async function updateWinRC (components) {
|
|||
// updates support.md file with new semver values (stable only)
|
||||
async function updateSupported (version, filePath) {
|
||||
const v = parseInt(version);
|
||||
const newVersions = [`* ${v}.x.y`, `* ${v - 1}.x.y`, `* ${v - 2}.x.y`];
|
||||
const newVersions = [`* ${v}.x.y`, `* ${v - 1}.x.y`, `* ${v - 2}.x.y`, `* ${v - 3}`];
|
||||
const contents = await readFile(filePath, 'utf8');
|
||||
const previousVersions = contents.split('\n').filter((elem) => {
|
||||
return (/[^\n]*\.x\.y[^\n]*/).test(elem);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue