Skip to content

Commit

Permalink
docs: update supported versions to match new release cadence (electro…
Browse files Browse the repository at this point in the history
  • Loading branch information
georgexu99 authored Jul 14, 2021
1 parent b2da2f7 commit 4b780f9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/tutorial/support.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion script/release/version-bumper.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 1 addition & 0 deletions spec-main/fixtures/version-bumper/fixture_support.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4b780f9

Please sign in to comment.