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;