From 3672f8c6a2341e44f456afa878062b3306b13b51 Mon Sep 17 00:00:00 2001 From: "Queen Vinyl Da.i'gyu-Kazotetsu" Date: Tue, 23 Jul 2024 03:54:11 -0700 Subject: [PATCH] update-browser-releases: "current" should not become "esr" for Firefox (#23928) --- scripts/update-browser-releases/firefox.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/update-browser-releases/firefox.ts b/scripts/update-browser-releases/firefox.ts index d1b4b154798a37..e74177c24d6477 100644 --- a/scripts/update-browser-releases/firefox.ts +++ b/scripts/update-browser-releases/firefox.ts @@ -133,6 +133,10 @@ export const updateFirefoxReleases = async (options) => { >, ).forEach(([key, entry]) => { if (key === String(esrRelease)) { + if (entry.status === 'current') { + // If the current release is also considered the ESR release, "current" status takes priority + return; + } result += updateBrowserEntry( firefoxBCD, options.bcdBrowserName,