High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
docs: fix archive script labels and change to variable to nextVersion (#10119)
Zack Pollard3c15dae34149
diff --git a/docs/static/archived-versions.json b/docs/static/archived-versions.jsonindex d0dea6d740..2524268bda 100644--- a/docs/static/archived-versions.json+++ b/docs/static/archived-versions.json@@ -1,6 +1,6 @@[{- "label": "1.106.1",+ "label": "v1.106.1","url": "https://v1.106.1.archive.immich.app"},{diff --git a/misc/release/archive-version.js b/misc/release/archive-version.jsindex eb77f273e0..3ef4f58b1e 100755--- a/misc/release/archive-version.js+++ b/misc/release/archive-version.js@@ -1,8 +1,8 @@#! /usr/bin/env nodeconst { readFileSync, writeFileSync } = require('node:fs');-const lastVersion = process.argv[2];-if (!lastVersion) {+const nextVersion = process.argv[2];+if (!nextVersion) {console.log('Usage: archive-version.js <version>');process.exit(1);}@@ -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://v${lastVersion}.archive.immich.app` },+ { label: `v${nextVersion}`, url: `https://v${nextVersion}.archive.immich.app` },...oldVersions,];