Add version info to web app
This commit is contained in:
parent
5627097a6c
commit
7ac448f78c
4 changed files with 10 additions and 3 deletions
2
Makefile
2
Makefile
|
@ -137,7 +137,7 @@ web: web-deps web-build
|
|||
|
||||
web-build:
|
||||
cd web \
|
||||
&& npm run build \
|
||||
&& VITE_NTFY_VERSION=$(VERSION) VITE_NTFY_COMMIT=$(COMMIT) npm run build \
|
||||
&& mv build/index.html build/app.html \
|
||||
&& rm -rf ../server/site \
|
||||
&& mv build ../server/site \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue