From 790ac96894e7fdc336864d6de26969f16f81762b Mon Sep 17 00:00:00 2001 From: Erwan Leboucher Date: Sat, 19 Sep 2026 16:14:26 +0200 Subject: [PATCH] fix(ci): stop Obtainium resolving stable releases for nightly --- scripts/obtainium-generate.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/obtainium-generate.js b/scripts/obtainium-generate.js index d887c6f1d..a278a3c5a 100644 --- a/scripts/obtainium-generate.js +++ b/scripts/obtainium-generate.js @@ -28,6 +28,10 @@ const additionalSettings = { // The nightly tag name never changes, so the version has to come from the date instead. ...(isNightly && { includePrereleases: true, + // Stable releases sort ahead of the reused nightly tag, so filter by title. + // Fallback is required: a title miss stops the scan at the first release. + filterReleaseTitlesByRegEx: '^Nightly', + fallbackToOlderReleases: true, useLatestAssetDateAsReleaseDate: true, releaseDateAsVersion: true, versionDetection: false,