mirror of
https://github.com/etkecc/synapse-admin.git
synced 2024-12-03 15:09:32 +03:00
handle envs without git in the build hook
This commit is contained in:
parent
fe4ba22a03
commit
7afce71bef
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ export default defineConfig({
|
|||
react(),
|
||||
vitePluginVersionMark({
|
||||
name: "Synapse Admin",
|
||||
command: "git describe --tags || git rev-parse --short HEAD",
|
||||
command: "git describe --tags || git rev-parse --short HEAD || echo 'unknown'",
|
||||
ifMeta: false,
|
||||
ifLog: false,
|
||||
ifGlobal: true,
|
||||
|
|
Loading…
Reference in a new issue