feat: add version for frontend && backend (#230)

This commit is contained in:
Dream Hunter
2024-05-12 18:31:43 +08:00
committed by GitHub
parent 62bec9ef90
commit 9de2d23be1
7 changed files with 10 additions and 5 deletions

View File

@@ -15,8 +15,6 @@ cp .env.example .env.prod
例如: `VITE_API_BASE=https://xxx.xxx.workers.dev`
```bash
# 请修改为你的版本号, 可以不填
# export VITE_VERSION=0.0.0
pnpm build --emptyOutDir
# 根据提示创建 pages
pnpm run deploy