From c206aa254c39175812c0e1d0e012a6a841ea5d50 Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Tue, 2 Apr 2024 16:42:53 +0100 Subject: feature: Include server version in the admin UI. Fixes #66 --- apps/cli/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/cli') diff --git a/apps/cli/index.ts b/apps/cli/index.ts index 03699e55..4d0adafb 100644 --- a/apps/cli/index.ts +++ b/apps/cli/index.ts @@ -19,7 +19,7 @@ const program = new Command() .makeOptionMandatory(true) .env("HOARDER_SERVER_ADDR"), ) - .version("0.1.0"); + .version(process.env.SERVER_VERSION ?? "nightly"); program.addCommand(bookmarkCmd); program.addCommand(whoamiCmd); -- cgit v1.2.3-70-g09d2