From caea20f810917c1252567e8e0a284d049f2ef37e Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Wed, 11 Jun 2025 09:19:10 -0400 Subject: [PATCH] Add a specific hard-coded tag for v25.05 It has no branch-off-xxx tag, which was causing problems. --- dist/index.js | 4 +++- src/index.ts | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 0b97191..b7b3615 100644 --- a/dist/index.js +++ b/dist/index.js @@ -80547,7 +80547,9 @@ var STABLE_TAG_NAME_REFS = { // `branch-off-yy.mm` is a surprising name, but is the pattern identified in the documentation. // // See: https://github.com/NixOS/release-wiki/pull/90 - "24.11": "tags/branch-off-24.11" + "24.11": "tags/branch-off-24.11", + // It appears that https://github.com/NixOS/release-wiki/pull/90 was not followed for 25.05 + "25.05": "tags/25.05" }; var FlakeHubMirrorAction = class { constructor() { diff --git a/src/index.ts b/src/index.ts index 8c569d7..18e2fff 100644 --- a/src/index.ts +++ b/src/index.ts @@ -36,6 +36,8 @@ const STABLE_TAG_NAME_REFS: { [key: string]: string } = { // // See: https://github.com/NixOS/release-wiki/pull/90 "24.11": "tags/branch-off-24.11", + // It appears that https://github.com/NixOS/release-wiki/pull/90 was not followed for 25.05 + "25.05": "tags/25.05", }; class FlakeHubMirrorAction { @@ -88,7 +90,7 @@ export async function getRollingMinor( if (STABLE_TAG_NAME_REFS[versionPart]) { expectedRef = STABLE_TAG_NAME_REFS[versionPart]; } else { - // See: https://github.com/NixOS/release-wiki/pull/90 + // See: https://github.com/NixOS/release-wiki/pull/90 which is still current policy expectedRef = `tags/branch-off-${versionPart}`; }