🏡 index : github.com/captn3m0/which-electron.git

author Nemo <commits@captnemo.in> 2022-05-24 15:10:23.0 +05:30:00
committer Nemo <commits@captnemo.in> 2022-05-24 15:10:23.0 +05:30:00
commit
b7a3ada2ef3f5dded6d035b79d2986e03fc0c97f [patch]
tree
607845f8a0b8f68ac97045ef70ebdd67d5e6b4e9
parent
65049c9ed2d585d9defbd32e5399040af225a855
download
b7a3ada2ef3f5dded6d035b79d2986e03fc0c97f.tar.gz

[releases] New electron releases



Diff

 _scripts/gen_versions.php |  2 +-
 src/versions.json         | 42 ++++++++++++++++++++++++++++++++++++++----
 2 files changed, 38 insertions(+), 6 deletions(-)

diff --git a/_scripts/gen_versions.php b/_scripts/gen_versions.php
index aba5629..d154f88 100644
--- a/_scripts/gen_versions.php
+++ a/_scripts/gen_versions.php
@@ -1,9 +1,9 @@
<?php

const VERSION_EXCLUDE = ['nightly', 'beta', 'alpha'];
// The latest four stable major versions are currently supported
// till May 2022, after which only 3 major versions will be supported
const SUPPORTED_MAJOR_VERSIONS = [15, 16, 17, 18];
const SUPPORTED_MAJOR_VERSIONS = [17, 18, 19];

// Command to fetch the list of versions from upstream
const FETCH_VERSIONS_COMMAND = "git ls-remote -q --tags https://github.com/electron/electron.git |grep -v '\^{}' |cut -f2 | sed -s 's/refs\/tags\///g' ";
diff --git a/src/versions.json b/src/versions.json
index ab417bd..833e33d 100644
--- a/src/versions.json
+++ a/src/versions.json
@@ -1,9 +1,8 @@
{
    "supported": [
        "v15.5.0",
        "v16.2.0",
        "v17.3.0",
        "v18.0.0"
        "v17.4.5",
        "v18.3.0",
        "v19.0.0"
    ],

    "all": [
        "v0.24.0",
@@ -495,6 +494,7 @@
        "v14.2.6",
        "v14.2.7",
        "v14.2.8",
        "v14.2.9",
        "v15.0.0",
        "v15.1.0",
        "v15.1.1",
@@ -512,6 +512,12 @@
        "v15.4.1",
        "v15.4.2",
        "v15.5.0",
        "v15.5.1",
        "v15.5.2",
        "v15.5.3",
        "v15.5.4",
        "v15.5.5",
        "v15.5.6",
        "v16.0.0",
        "v16.0.1",
        "v16.0.2",
@@ -526,6 +532,13 @@
        "v16.1.0",
        "v16.1.1",
        "v16.2.0",
        "v16.2.1",
        "v16.2.2",
        "v16.2.3",
        "v16.2.4",
        "v16.2.5",
        "v16.2.6",
        "v16.2.7",
        "v17.0.0",
        "v17.0.1",
        "v17.1.0",
@@ -533,6 +546,25 @@
        "v17.1.2",
        "v17.2.0",
        "v17.3.0",
        "v18.0.0"
        "v17.3.1",
        "v17.4.0",
        "v17.4.1",
        "v17.4.2",
        "v17.4.3",
        "v17.4.4",
        "v17.4.5",
        "v18.0.0",
        "v18.0.1",
        "v18.0.2",
        "v18.0.3",
        "v18.0.4",
        "v18.1.0",
        "v18.2.0",
        "v18.2.1",
        "v18.2.2",
        "v18.2.3",
        "v18.2.4",
        "v18.3.0",
        "v19.0.0"
    ]

}