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,