1
0

Ensure tag check errors don't output
All checks were successful
Build and test project / build-and-test (push) Successful in 1m28s

This commit is contained in:
2026-03-19 21:25:46 +01:00
parent 9c9df0fa5f
commit 093f4f8d80

View File

@@ -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;