From e8f6a7fb19adc6a6dc834b16b9ed33944c18869b Mon Sep 17 00:00:00 2001 From: Andrew Coates <30809111+acoates-ms@users.noreply.github.com> Date: Thu, 26 Sep 2024 14:10:30 -0700 Subject: [PATCH] Dont generate diffs to older versions --- RELEASES | 306 +----------------------------------------- RELEASES_MAC | 307 +------------------------------------------ RELEASES_MAC_ignored | 305 ++++++++++++++++++++++++++++++++++++++++++ RELEASES_ignored | 304 ++++++++++++++++++++++++++++++++++++++++++ new-release-tools.js | 20 ++- 5 files changed, 629 insertions(+), 613 deletions(-) create mode 100644 RELEASES_MAC_ignored create mode 100644 RELEASES_ignored diff --git a/RELEASES b/RELEASES index 01a62fa2133..ceea0d33406 100644 --- a/RELEASES +++ b/RELEASES @@ -176,315 +176,11 @@ 0.70.0-preview.2 0.70.0-preview.1 0.69.28 -0.69.27 -0.69.26 -0.69.25 -0.69.24 -0.69.23 -0.69.22 -0.69.21 -0.69.20 -0.69.19 -0.69.18 -0.69.17 -0.69.16 -0.69.15 -0.69.14 -0.69.13 -0.69.12 -0.69.11 -0.69.10 -0.69.9 -0.69.8 -0.69.7 -0.69.6 -0.69.5 -0.69.4 -0.69.3 -0.69.2 -0.69.1 -0.69.0 -0.69.0-preview.7 -0.69.0-preview.6 -0.69.0-preview.5 -0.69.0-preview.4 -0.69.0-preview.3 -0.69.0-preview.2 -0.69.0-preview.1 0.68.35 -0.68.34 -0.68.33 -0.68.32 -0.68.31 -0.68.30 -0.68.29 -0.68.28 -0.68.27 -0.68.26 -0.68.25 -0.68.24 -0.68.23 -0.68.22 -0.68.21 -0.68.20 -0.68.19 -0.68.18 -0.68.17 -0.68.16 -0.68.15 -0.68.14 -0.68.13 -0.68.12 -0.68.11 -0.68.10 -0.68.9 -0.68.8 -0.68.7 -0.68.6 -0.68.5 -0.68.4 -0.68.3 -0.68.2 -0.68.1 -0.68.0 -0.68.0-preview.8 -0.68.0-preview.7 -0.68.0-preview.6 -0.68.0-preview.5 -0.68.0-preview.4 -0.68.0-preview.3 -0.68.0-preview.2 -0.68.0-preview.1 0.67.19 -0.67.18 -0.67.17 -0.67.16 -0.67.15 -0.67.14 -0.67.13 -0.67.12 -0.67.11 -0.67.10 -0.67.9 -0.67.8 -0.67.7 -0.67.6 -0.67.5 -0.67.4 -0.67.3 -0.67.2 -0.67.1 -0.67.0 -0.67.0-preview.7 -0.67.0-preview.6 -0.67.0-preview.5 -0.67.0-preview.4 -0.67.0-preview.3 -0.67.0-preview.2 -0.67.0-preview.1 0.66.25 -0.66.24 -0.66.23 -0.66.22 -0.66.21 -0.66.20 -0.66.19 -0.66.18 -0.66.17 -0.66.16 -0.66.15 -0.66.14 -0.66.13 -0.66.12 -0.66.11 -0.66.10 -0.66.9 -0.66.8 -0.66.7 -0.66.6 -0.66.5 -0.66.4 -0.66.3 -0.66.2 -0.66.1 -0.66.0 -0.66.0-preview.6 -0.66.0-preview.5 -0.66.0-preview.4 -0.66.0-preview.3 -0.66.0-preview.2 -0.66.0-preview.1 0.65.14 -0.65.13 -0.65.12 -0.65.11 -0.65.10 -0.65.9 -0.65.8 -0.65.7 -0.65.6 -0.65.5 -0.65.4 -0.65.3 -0.65.2 -0.65.1 -0.65.0 -0.65.0-preview.8 -0.65.0-preview.7 -0.65.0-preview.6 -0.65.0-preview.5 -0.65.0-preview.4 -0.65.0-preview.3 -0.65.0-preview.2 -0.65.0-preview.1 0.64.31 -0.64.30 -0.64.29 -0.64.28 -0.64.27 -0.64.26 -0.64.25 -0.64.24 -0.64.23 -0.64.22 -0.64.21 -0.64.20 -0.64.19 -0.64.18 -0.64.17 -0.64.16 -0.64.15 -0.64.14 -0.64.13 -0.64.12 -0.64.11 -0.64.10 -0.64.9 -0.64.8 -0.64.7 -0.64.6 -0.64.5 -0.64.4 -0.64.3 -0.64.2 -0.64.1 -0.64.0 -0.64.0-preview.15 -0.64.0-preview.14 -0.64.0-preview.13 -0.64.0-preview.12 -0.64.0-preview.11 -0.64.0-preview.10 -0.64.0-preview.9 -0.64.0-preview.8 -0.64.0-preview.7 -0.64.0-preview.6 -0.64.0-preview.5 -0.64.0-preview.4 -0.64.0-preview.3 -0.64.0-preview.2 -0.64.0-preview.1 0.63.41 -0.63.40 -0.63.39 -0.63.38 -0.63.37 -0.63.36 -0.63.35 -0.63.34 -0.63.33 -0.63.32 -0.63.31 -0.63.30 -0.63.29 -0.63.28 -0.63.27 -0.63.26 -0.63.25 -0.63.24 -0.63.23 -0.63.22 -0.63.21 -0.63.20 -0.63.19 -0.63.18 -0.63.17 -0.63.16 -0.63.15 -0.63.14 -0.63.13 -0.63.12 -0.63.11 -0.63.10 -0.63.9 -0.63.8 -0.63.7 -0.63.6 -0.63.5 -0.63.4 -0.63.3 -0.63.2 -0.63.1 -0.63.0 -0.63.0-preview.5 -0.63.0-preview.4 -0.63.0-preview.3 -0.63.0-preview.2 -0.63.0-preview.1 0.62.22 -0.62.21 -0.62.20 -0.62.19 -0.62.18 -0.62.17 -0.62.16 -0.62.15 -0.62.14 -0.62.13 -0.62.12 -0.62.11 -0.62.10 -0.62.9 -0.62.8 -0.62.7 -0.62.6 -0.62.5 -0.62.4 -0.62.3 -0.62.2 -0.62.1 -0.62.0 -0.62.0-preview.17 -0.62.0-preview.16 -0.62.0-preview.15 -0.62.0-preview.14 -0.62.0-preview.13 -0.62.0-preview.12 -0.62.0-preview.11 -0.62.0-preview.10 -0.62.0-preview.9 -0.62.0-preview.8 -0.62.0-preview.7 -0.62.0-preview.6 -0.62.0-preview.5 -0.62.0-preview.4 -0.62.0-preview.3 -0.62.0-preview.2 -0.62.0-preview.1 -0.61.16 -0.61.15 -0.61.14 -0.61.13 -0.61.12 -0.61.11 -0.61.10 -0.61.9 -0.61.8 -0.61.7 -0.61.6 -0.61.5 -0.61.4 -0.61.3 -0.61.2 -0.61.1 -0.61.0 \ No newline at end of file +0.61.16 \ No newline at end of file diff --git a/RELEASES_MAC b/RELEASES_MAC index e7e94e1b13c..5d390a3f16d 100644 --- a/RELEASES_MAC +++ b/RELEASES_MAC @@ -71,313 +71,8 @@ 0.71.1 0.71.0 0.68.70 -0.68.69 -0.68.68 -0.68.67 -0.68.66 -0.68.65 -0.68.64 -0.68.63 -0.68.62 -0.68.61 -0.68.60 -0.68.59 -0.68.58 -0.68.57 -0.68.56 -0.68.55 -0.68.54 -0.68.53 -0.68.52 -0.68.51 -0.68.50 -0.68.49 -0.68.48 -0.68.47 -0.68.46 -0.68.45 -0.68.44 -0.68.43 -0.68.42 -0.68.41 -0.68.40 -0.68.39 -0.68.38 -0.68.37 -0.68.36 -0.68.35 -0.68.34 -0.68.33 -0.68.32 -0.68.31 -0.68.30 -0.68.29 -0.68.28 -0.68.27 -0.68.26 -0.68.25 -0.68.24 -0.68.23 -0.68.22 -0.68.21 -0.68.20 -0.68.19 -0.68.18 -0.68.17 -0.68.16 -0.68.15 -0.68.14 -0.68.13 -0.68.12 -0.68.11 -0.68.10 -0.68.9 -0.68.8 -0.68.7 -0.68.6 -0.68.5 -0.68.4 -0.68.3 0.66.80 -0.66.79 -0.66.78 -0.66.77 -0.66.76 -0.66.75 -0.66.74 -0.66.73 -0.66.72 -0.66.71 -0.66.70 -0.66.69 -0.66.68 -0.66.67 -0.66.66 -0.66.65 -0.66.64 -0.66.63 -0.66.62 -0.66.61 -0.66.60 -0.66.59 -0.66.58 -0.66.57 -0.66.56 -0.66.55 -0.66.54 -0.66.53 -0.66.52 -0.66.51 -0.66.50 -0.66.49 -0.66.48 -0.66.47 -0.66.46 -0.66.45 -0.66.44 -0.66.43 -0.66.42 -0.66.41 -0.66.40 -0.66.39 -0.66.38 -0.66.37 -0.66.36 -0.66.35 -0.66.34 -0.66.33 -0.66.32 -0.66.31 -0.66.30 -0.66.29 -0.66.28 -0.66.27 -0.66.26 -0.66.25 -0.66.24 -0.66.23 -0.66.22 -0.66.21 -0.66.20 -0.66.19 -0.66.18 -0.66.17 -0.66.16 -0.66.15 -0.66.14 -0.66.13 -0.66.12 -0.66.11 -0.66.10 -0.66.9 -0.66.8 -0.66.7 -0.66.6 -0.66.5 -0.66.4 0.64.30 -0.64.29 -0.64.28 -0.64.27 -0.64.26 -0.64.25 -0.64.24 -0.64.23 -0.64.22 -0.64.21 -0.64.20 -0.64.19 -0.64.18 -0.64.17 -0.64.16 -0.64.15 -0.64.14 -0.64.13 -0.64.12 -0.64.11 -0.64.10 -0.64.9 -0.64.8 -0.64.7 -0.64.6 -0.64.5 -0.64.4 -0.64.3 0.63.43 -0.63.42 -0.63.41 -0.63.40 -0.63.39 -0.63.38 -0.63.37 -0.63.36 -0.63.35 -0.63.34 -0.63.33 -0.63.32 -0.63.31 -0.63.30 -0.63.29 -0.63.28 -0.63.27 -0.63.26 -0.63.25 -0.63.24 -0.63.23 -0.63.22 -0.63.21 -0.63.20 -0.63.19 -0.63.18 -0.63.17 -0.63.16 -0.63.15 -0.63.14 -0.63.13 -0.63.12 -0.63.11 -0.63.10 -0.63.9 -0.63.8 -0.63.7 -0.63.6 -0.63.5 -0.63.4 -0.63.3 -0.63.2 -0.63.1 0.62.35 -0.62.34 -0.62.33 -0.62.32 -0.62.31 -0.62.30 -0.62.29 -0.62.28 -0.62.27 -0.62.26 -0.62.25 -0.62.24 -0.62.23 -0.62.22 -0.62.21 -0.62.20 -0.62.19 -0.62.18 -0.62.17 -0.62.16 -0.62.15 -0.62.14 -0.62.13 -0.62.12 -0.62.11 -0.62.10 -0.62.9 -0.62.8 -0.62.7 -0.62.6 -0.62.5 -0.62.4 -0.62.3 -0.62.2 -0.62.1 -0.61.65 -0.61.64 -0.61.63 -0.61.62 -0.61.61 -0.61.60 -0.61.59 -0.61.58 -0.61.57 -0.61.56 -0.61.55 -0.61.54 -0.61.53 -0.61.52 -0.61.51 -0.61.50 -0.61.49 -0.61.48 -0.61.47 -0.61.46 -0.61.45 -0.61.44 -0.61.43 -0.61.42 -0.61.41 -0.61.40 -0.61.39 -0.61.38 -0.61.37 -0.61.36 -0.61.35 -0.61.34 -0.61.33 -0.61.32 -0.61.31 -0.61.30 -0.61.29 -0.61.28 -0.61.27 -0.61.26 -0.61.25 -0.61.24 -0.61.23 -0.61.22 -0.61.21 -0.61.20 -0.61.19 -0.61.18 -0.61.17 -0.61.16 -0.61.15 -0.61.14 -0.61.13 -0.61.12 -0.61.11 -0.61.10 -0.61.9 -0.61.8 -0.61.7 -0.61.5 \ No newline at end of file +0.61.65 \ No newline at end of file diff --git a/RELEASES_MAC_ignored b/RELEASES_MAC_ignored new file mode 100644 index 00000000000..d6d499bbee3 --- /dev/null +++ b/RELEASES_MAC_ignored @@ -0,0 +1,305 @@ +0.68.69 +0.68.68 +0.68.67 +0.68.66 +0.68.65 +0.68.64 +0.68.63 +0.68.62 +0.68.61 +0.68.60 +0.68.59 +0.68.58 +0.68.57 +0.68.56 +0.68.55 +0.68.54 +0.68.53 +0.68.52 +0.68.51 +0.68.50 +0.68.49 +0.68.48 +0.68.47 +0.68.46 +0.68.45 +0.68.44 +0.68.43 +0.68.42 +0.68.41 +0.68.40 +0.68.39 +0.68.38 +0.68.37 +0.68.36 +0.68.35 +0.68.34 +0.68.33 +0.68.32 +0.68.31 +0.68.30 +0.68.29 +0.68.28 +0.68.27 +0.68.26 +0.68.25 +0.68.24 +0.68.23 +0.68.22 +0.68.21 +0.68.20 +0.68.19 +0.68.18 +0.68.17 +0.68.16 +0.68.15 +0.68.14 +0.68.13 +0.68.12 +0.68.11 +0.68.10 +0.68.9 +0.68.8 +0.68.7 +0.68.6 +0.68.5 +0.68.4 +0.68.3 +0.66.79 +0.66.78 +0.66.77 +0.66.76 +0.66.75 +0.66.74 +0.66.73 +0.66.72 +0.66.71 +0.66.70 +0.66.69 +0.66.68 +0.66.67 +0.66.66 +0.66.65 +0.66.64 +0.66.63 +0.66.62 +0.66.61 +0.66.60 +0.66.59 +0.66.58 +0.66.57 +0.66.56 +0.66.55 +0.66.54 +0.66.53 +0.66.52 +0.66.51 +0.66.50 +0.66.49 +0.66.48 +0.66.47 +0.66.46 +0.66.45 +0.66.44 +0.66.43 +0.66.42 +0.66.41 +0.66.40 +0.66.39 +0.66.38 +0.66.37 +0.66.36 +0.66.35 +0.66.34 +0.66.33 +0.66.32 +0.66.31 +0.66.30 +0.66.29 +0.66.28 +0.66.27 +0.66.26 +0.66.25 +0.66.24 +0.66.23 +0.66.22 +0.66.21 +0.66.20 +0.66.19 +0.66.18 +0.66.17 +0.66.16 +0.66.15 +0.66.14 +0.66.13 +0.66.12 +0.66.11 +0.66.10 +0.66.9 +0.66.8 +0.66.7 +0.66.6 +0.66.5 +0.66.4 +0.64.29 +0.64.28 +0.64.27 +0.64.26 +0.64.25 +0.64.24 +0.64.23 +0.64.22 +0.64.21 +0.64.20 +0.64.19 +0.64.18 +0.64.17 +0.64.16 +0.64.15 +0.64.14 +0.64.13 +0.64.12 +0.64.11 +0.64.10 +0.64.9 +0.64.8 +0.64.7 +0.64.6 +0.64.5 +0.64.4 +0.64.3 +0.63.42 +0.63.41 +0.63.40 +0.63.39 +0.63.38 +0.63.37 +0.63.36 +0.63.35 +0.63.34 +0.63.33 +0.63.32 +0.63.31 +0.63.30 +0.63.29 +0.63.28 +0.63.27 +0.63.26 +0.63.25 +0.63.24 +0.63.23 +0.63.22 +0.63.21 +0.63.20 +0.63.19 +0.63.18 +0.63.17 +0.63.16 +0.63.15 +0.63.14 +0.63.13 +0.63.12 +0.63.11 +0.63.10 +0.63.9 +0.63.8 +0.63.7 +0.63.6 +0.63.5 +0.63.4 +0.63.3 +0.63.2 +0.63.1 +0.62.34 +0.62.33 +0.62.32 +0.62.31 +0.62.30 +0.62.29 +0.62.28 +0.62.27 +0.62.26 +0.62.25 +0.62.24 +0.62.23 +0.62.22 +0.62.21 +0.62.20 +0.62.19 +0.62.18 +0.62.17 +0.62.16 +0.62.15 +0.62.14 +0.62.13 +0.62.12 +0.62.11 +0.62.10 +0.62.9 +0.62.8 +0.62.7 +0.62.6 +0.62.5 +0.62.4 +0.62.3 +0.62.2 +0.62.1 +0.61.64 +0.61.63 +0.61.62 +0.61.61 +0.61.60 +0.61.59 +0.61.58 +0.61.57 +0.61.56 +0.61.55 +0.61.54 +0.61.53 +0.61.52 +0.61.51 +0.61.50 +0.61.49 +0.61.48 +0.61.47 +0.61.46 +0.61.45 +0.61.44 +0.61.43 +0.61.42 +0.61.41 +0.61.40 +0.61.39 +0.61.38 +0.61.37 +0.61.36 +0.61.35 +0.61.34 +0.61.33 +0.61.32 +0.61.31 +0.61.30 +0.61.29 +0.61.28 +0.61.27 +0.61.26 +0.61.25 +0.61.24 +0.61.23 +0.61.22 +0.61.21 +0.61.20 +0.61.19 +0.61.18 +0.61.17 +0.61.16 +0.61.15 +0.61.14 +0.61.13 +0.61.12 +0.61.11 +0.61.10 +0.61.9 +0.61.8 +0.61.7 +0.61.5 \ No newline at end of file diff --git a/RELEASES_ignored b/RELEASES_ignored new file mode 100644 index 00000000000..2450a0e9561 --- /dev/null +++ b/RELEASES_ignored @@ -0,0 +1,304 @@ +0.69.27 +0.69.26 +0.69.25 +0.69.24 +0.69.23 +0.69.22 +0.69.21 +0.69.20 +0.69.19 +0.69.18 +0.69.17 +0.69.16 +0.69.15 +0.69.14 +0.69.13 +0.69.12 +0.69.11 +0.69.10 +0.69.9 +0.69.8 +0.69.7 +0.69.6 +0.69.5 +0.69.4 +0.69.3 +0.69.2 +0.69.1 +0.69.0 +0.69.0-preview.7 +0.69.0-preview.6 +0.69.0-preview.5 +0.69.0-preview.4 +0.69.0-preview.3 +0.69.0-preview.2 +0.69.0-preview.1 +0.68.34 +0.68.33 +0.68.32 +0.68.31 +0.68.30 +0.68.29 +0.68.28 +0.68.27 +0.68.26 +0.68.25 +0.68.24 +0.68.23 +0.68.22 +0.68.21 +0.68.20 +0.68.19 +0.68.18 +0.68.17 +0.68.16 +0.68.15 +0.68.14 +0.68.13 +0.68.12 +0.68.11 +0.68.10 +0.68.9 +0.68.8 +0.68.7 +0.68.6 +0.68.5 +0.68.4 +0.68.3 +0.68.2 +0.68.1 +0.68.0 +0.68.0-preview.8 +0.68.0-preview.7 +0.68.0-preview.6 +0.68.0-preview.5 +0.68.0-preview.4 +0.68.0-preview.3 +0.68.0-preview.2 +0.68.0-preview.1 +0.67.18 +0.67.17 +0.67.16 +0.67.15 +0.67.14 +0.67.13 +0.67.12 +0.67.11 +0.67.10 +0.67.9 +0.67.8 +0.67.7 +0.67.6 +0.67.5 +0.67.4 +0.67.3 +0.67.2 +0.67.1 +0.67.0 +0.67.0-preview.7 +0.67.0-preview.6 +0.67.0-preview.5 +0.67.0-preview.4 +0.67.0-preview.3 +0.67.0-preview.2 +0.67.0-preview.1 +0.66.24 +0.66.23 +0.66.22 +0.66.21 +0.66.20 +0.66.19 +0.66.18 +0.66.17 +0.66.16 +0.66.15 +0.66.14 +0.66.13 +0.66.12 +0.66.11 +0.66.10 +0.66.9 +0.66.8 +0.66.7 +0.66.6 +0.66.5 +0.66.4 +0.66.3 +0.66.2 +0.66.1 +0.66.0 +0.66.0-preview.6 +0.66.0-preview.5 +0.66.0-preview.4 +0.66.0-preview.3 +0.66.0-preview.2 +0.66.0-preview.1 +0.65.13 +0.65.12 +0.65.11 +0.65.10 +0.65.9 +0.65.8 +0.65.7 +0.65.6 +0.65.5 +0.65.4 +0.65.3 +0.65.2 +0.65.1 +0.65.0 +0.65.0-preview.8 +0.65.0-preview.7 +0.65.0-preview.6 +0.65.0-preview.5 +0.65.0-preview.4 +0.65.0-preview.3 +0.65.0-preview.2 +0.65.0-preview.1 +0.64.30 +0.64.29 +0.64.28 +0.64.27 +0.64.26 +0.64.25 +0.64.24 +0.64.23 +0.64.22 +0.64.21 +0.64.20 +0.64.19 +0.64.18 +0.64.17 +0.64.16 +0.64.15 +0.64.14 +0.64.13 +0.64.12 +0.64.11 +0.64.10 +0.64.9 +0.64.8 +0.64.7 +0.64.6 +0.64.5 +0.64.4 +0.64.3 +0.64.2 +0.64.1 +0.64.0 +0.64.0-preview.15 +0.64.0-preview.14 +0.64.0-preview.13 +0.64.0-preview.12 +0.64.0-preview.11 +0.64.0-preview.10 +0.64.0-preview.9 +0.64.0-preview.8 +0.64.0-preview.7 +0.64.0-preview.6 +0.64.0-preview.5 +0.64.0-preview.4 +0.64.0-preview.3 +0.64.0-preview.2 +0.64.0-preview.1 +0.63.40 +0.63.39 +0.63.38 +0.63.37 +0.63.36 +0.63.35 +0.63.34 +0.63.33 +0.63.32 +0.63.31 +0.63.30 +0.63.29 +0.63.28 +0.63.27 +0.63.26 +0.63.25 +0.63.24 +0.63.23 +0.63.22 +0.63.21 +0.63.20 +0.63.19 +0.63.18 +0.63.17 +0.63.16 +0.63.15 +0.63.14 +0.63.13 +0.63.12 +0.63.11 +0.63.10 +0.63.9 +0.63.8 +0.63.7 +0.63.6 +0.63.5 +0.63.4 +0.63.3 +0.63.2 +0.63.1 +0.63.0 +0.63.0-preview.5 +0.63.0-preview.4 +0.63.0-preview.3 +0.63.0-preview.2 +0.63.0-preview.1 +0.62.21 +0.62.20 +0.62.19 +0.62.18 +0.62.17 +0.62.16 +0.62.15 +0.62.14 +0.62.13 +0.62.12 +0.62.11 +0.62.10 +0.62.9 +0.62.8 +0.62.7 +0.62.6 +0.62.5 +0.62.4 +0.62.3 +0.62.2 +0.62.1 +0.62.0 +0.62.0-preview.17 +0.62.0-preview.16 +0.62.0-preview.15 +0.62.0-preview.14 +0.62.0-preview.13 +0.62.0-preview.12 +0.62.0-preview.11 +0.62.0-preview.10 +0.62.0-preview.9 +0.62.0-preview.8 +0.62.0-preview.7 +0.62.0-preview.6 +0.62.0-preview.5 +0.62.0-preview.4 +0.62.0-preview.3 +0.62.0-preview.2 +0.62.0-preview.1 +0.61.15 +0.61.14 +0.61.13 +0.61.12 +0.61.11 +0.61.10 +0.61.9 +0.61.8 +0.61.7 +0.61.6 +0.61.5 +0.61.4 +0.61.3 +0.61.2 +0.61.1 +0.61.0 \ No newline at end of file diff --git a/new-release-tools.js b/new-release-tools.js index 8775fca8feb..d98369939ca 100644 --- a/new-release-tools.js +++ b/new-release-tools.js @@ -83,7 +83,9 @@ function createNewRelease(newRelease, rnVersion, apptype) { let releasesWindows; let releasesMac; const releasesFileWindows = path.resolve(__dirname, "RELEASES"); +const releasesIgnoredFileWindows = path.resolve(__dirname, "RELEASES_ignored"); const releasesFileMac = path.resolve(__dirname, "RELEASES_MAC"); +const releasesIgnoredFileMac = path.resolve(__dirname, "RELEASES_MAC_ignored"); /** * @param {boolean} [isMac] - get Mac releases instead of windows @@ -91,19 +93,33 @@ const releasesFileMac = path.resolve(__dirname, "RELEASES_MAC"); function getReleases(isMac) { if (!isMac) { if (!releasesWindows) { - releasesWindows = readFileSync(releasesFileWindows) + + const releasesIgnoredWindows = readFileSync(releasesIgnoredFileWindows) .toString() .split("\n") .map((_) => _.trim()); + + releasesWindows = readFileSync(releasesFileWindows) + .toString() + .split("\n") + .map((_) => _.trim()) + .filter(_ => !releasesIgnoredWindows.includes(_)); } return releasesWindows; } else { if (!releasesMac) { - releasesMac = readFileSync(releasesFileMac) + + const releasesMacIgnored = readFileSync(releasesIgnoredFileMac) .toString() .split("\n") .map((_) => _.trim()); + + releasesMac = readFileSync(releasesFileMac) + .toString() + .split("\n") + .map((_) => _.trim()) + .filter(_ => !releasesMacIgnored.includes(_)); } return releasesMac;