update links, allow working without tags

This commit is contained in:
Aine
2024-08-31 15:14:44 +03:00
parent 5acf3042c3
commit e2194f5c49
5 changed files with 6 additions and 6 deletions

View File

@@ -8,7 +8,7 @@ export default defineConfig({
plugins: [
react(),
vitePluginVersionMark({
command: "git describe --tags",
command: "git describe --tags || git rev-parse --short HEAD",
ifMeta: true,
ifLog: true,
ifGlobal: true,