workflow: pass version arg to builder

This commit is contained in:
2025-10-19 03:23:43 +11:00
parent dac4760289
commit ed479b7efa
3 changed files with 3 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ builds:
pre:
- cmd: npm install
dir: server/frontend
- cmd: APP_VERSION={{ .Version }} npm run build
- cmd: VITE_APP_VERSION={{ .Version }} npm run build
dir: server/frontend
archives:
- formats: ["tar.gz"]