Browse Source

docs: update supported versions to match new release cadence (#30121)

George Xu 3 years ago
parent
commit
4b780f9770

+ 1 - 0
docs/tutorial/support.md

@@ -70,6 +70,7 @@ until the maintainers feel the maintenance burden is too high to continue doing
 
 ### Currently supported versions
 
+* 14.x.y
 * 13.x.y
 * 12.x.y
 * 11.x.y

+ 1 - 1
script/release/version-bumper.js

@@ -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);

+ 1 - 0
spec-main/fixtures/version-bumper/fixture_support.md

@@ -64,6 +64,7 @@ until the maintainers feel the maintenance burden is too high to continue doing
 
 ### Currently supported versions
 
+* 4.x.y
 * 3.x.y
 * 2.x.y
 * 1.x.y