From 093f4f8d801c1fb1387db3cf7eb98253188380a3 Mon Sep 17 00:00:00 2001 From: Nico Verbruggen Date: Thu, 19 Mar 2026 21:25:46 +0100 Subject: [PATCH] Ensure tag check errors don't output --- web/build.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/build.mjs b/web/build.mjs index 3914336..24fbcd7 100644 --- a/web/build.mjs +++ b/web/build.mjs @@ -83,7 +83,7 @@ try { let tag = ''; try { - tag = String(execSync('git describe --tags --exact-match', { cwd: repoDir })).trim(); + tag = String(execSync('git describe --tags --exact-match 2>/dev/null', { cwd: repoDir })).trim(); } catch {} if (tag) { versionStr = tag;