From 84d83517cab892780dffb7f8f2c33c0eb7a316a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Chalifour?= Date: Thu, 16 Jul 2026 18:04:57 +0200 Subject: [PATCH] test(updater): derive update fixture from current major version --- cli/tests/updater.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/tests/updater.test.ts b/cli/tests/updater.test.ts index 3c6fb6d..5bb0ffe 100644 --- a/cli/tests/updater.test.ts +++ b/cli/tests/updater.test.ts @@ -46,7 +46,7 @@ import { createCliRuntime, runWithCliRuntime } from "@/lib/runtime.ts"; let testHome = ""; const packageJsonPath = resolve(import.meta.dir, "../package.json"); -const UPDATE_TEST_VERSION = "1.2.3"; +const UPDATE_TEST_VERSION = `${Number(VERSION.split(".")[0]) + 1}.0.0`; const LINUX_X64_ASSET = "altertable-linux-x64"; const LINUX_X64_DOWNLOAD_URL = `https://download.example/${LINUX_X64_ASSET}`; const CHECKSUMS_DOWNLOAD_URL = "https://download.example/checksums.txt";