at master 22 lines 898 B view raw
1diff --git a/gui/vite.config.ts b/gui/vite.config.ts 2index 2171bccd..b4db20b9 100644 3--- a/gui/vite.config.ts 4+++ b/gui/vite.config.ts 5@@ -5,14 +5,10 @@ import { execSync } from 'child_process'; 6 import path from 'path'; 7 import { visualizer } from 'rollup-plugin-visualizer'; 8 9-const commitHash = execSync('git rev-parse --verify --short HEAD').toString().trim(); 10-const versionTag = execSync('git --no-pager tag --sort -taggerdate --points-at HEAD') 11- .toString() 12- .split('\n')[0] 13- .trim(); 14+const commitHash = ""; 15+const versionTag = "@version@"; 16 // If not empty then it's not clean 17-const gitCleanString = execSync('git status --porcelain').toString(); 18-const gitClean = gitCleanString ? false : true; 19+const gitClean = true; 20 if (!gitClean) console.log('Git is dirty because of:\n' + gitCleanString); 21 22 console.log(`version is ${versionTag || commitHash}${gitClean ? '' : '-dirty'}`);