From 42cb8a8bbe7aee8223a817589d35f088924583ed Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Tue, 20 Oct 2026 18:17:00 +0200 Subject: [PATCH] chore: let a dev server announce another app version for plugin tests --- next.config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/next.config.ts b/next.config.ts index cb31cdd73..fec618fa1 100644 --- a/next.config.ts +++ b/next.config.ts @@ -105,7 +105,8 @@ const nextConfig: NextConfig = { }, env: { NEXT_PUBLIC_GIT_COMMIT: gitCommitHash, - NEXT_PUBLIC_APP_VERSION: appVersion, + // A dev server may announce another version, e.g. to try a plugin that needs the next release. + NEXT_PUBLIC_APP_VERSION: process.env.NEXT_PUBLIC_APP_VERSION || appVersion, NEXT_PUBLIC_BASE_PATH: basePath, NEXT_PUBLIC_DEV_MOCK_JMAP: process.env.DEV_MOCK_JMAP ?? "", NEXT_PUBLIC_BULWARK_LITE: isLite ? "1" : "",