From 8a866297f75f41b2ca19ade89b91e7c0a34bc58e Mon Sep 17 00:00:00 2001 From: Zack Pollard Date: Tue, 11 Jun 2024 11:43:39 +0100 Subject: [PATCH] docs: fix archive version url to include v prefix (#10111) * docs: fix archive version url to include v prefix * docs: fix archived versions to add missing v to 1.106.1 --- docs/static/archived-versions.json | 2 +- misc/release/archive-version.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/static/archived-versions.json b/docs/static/archived-versions.json index 45c582f4f7..67f4e6143c 100644 --- a/docs/static/archived-versions.json +++ b/docs/static/archived-versions.json @@ -1,7 +1,7 @@ [ { "label": "1.106.1", - "url": "https://1.106.1.archive.immich.app" + "url": "https://v1.106.1.archive.immich.app" }, { "label": "v1.105.1", diff --git a/misc/release/archive-version.js b/misc/release/archive-version.js index 449fe19eb2..eb77f273e0 100755 --- a/misc/release/archive-version.js +++ b/misc/release/archive-version.js @@ -10,7 +10,7 @@ if (!lastVersion) { const filename = './docs/static/archived-versions.json'; const oldVersions = JSON.parse(readFileSync(filename)); const newVersions = [ - { label: lastVersion, url: `https://${lastVersion}.archive.immich.app` }, + { label: lastVersion, url: `https://v${lastVersion}.archive.immich.app` }, ...oldVersions, ];