Utilise semantic version for the dashboard as well.

This commit is contained in:
2025-12-19 02:17:09 +00:00
parent bc4e9e66ae
commit a71c61932e
6 changed files with 33 additions and 4 deletions
+2 -1
View File
@@ -8,7 +8,8 @@ project_name: claude-mnemonic
before:
hooks:
- go mod tidy
# Build Vue dashboard and embed in binary
# Generate versioned package.json from template and build Vue dashboard
- bash -c "sed 's/{{ .Version }}/{{ .Version }}/g' ui/package.json.tpl > ui/package.json"
- bash -c "cd ui && npm ci --silent && npm run build"
- bash -c "rm -rf internal/worker/static && mkdir -p internal/worker/static && cp -r ui/dist/* internal/worker/static/"