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
|
@ -70,6 +70,7 @@ until the maintainers feel the maintenance burden is too high to continue doing
|
||||||
|
|
||||||
### Currently supported versions
|
### Currently supported versions
|
||||||
|
|
||||||
|
* 14.x.y
|
||||||
* 13.x.y
|
* 13.x.y
|
||||||
* 12.x.y
|
* 12.x.y
|
||||||
* 11.x.y
|
* 11.x.y
|
||||||
|
|
|
@ -165,7 +165,7 @@ async function updateWinRC (components) {
|
||||||
// updates support.md file with new semver values (stable only)
|
// updates support.md file with new semver values (stable only)
|
||||||
async function updateSupported (version, filePath) {
|
async function updateSupported (version, filePath) {
|
||||||
const v = parseInt(version);
|
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 contents = await readFile(filePath, 'utf8');
|
||||||
const previousVersions = contents.split('\n').filter((elem) => {
|
const previousVersions = contents.split('\n').filter((elem) => {
|
||||||
return (/[^\n]*\.x\.y[^\n]*/).test(elem);
|
return (/[^\n]*\.x\.y[^\n]*/).test(elem);
|
||||||
|
|
|
@ -64,6 +64,7 @@ until the maintainers feel the maintenance burden is too high to continue doing
|
||||||
|
|
||||||
### Currently supported versions
|
### Currently supported versions
|
||||||
|
|
||||||
|
* 4.x.y
|
||||||
* 3.x.y
|
* 3.x.y
|
||||||
* 2.x.y
|
* 2.x.y
|
||||||
* 1.x.y
|
* 1.x.y
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue