docs: add version management section to README
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
22
README.md
22
README.md
@@ -115,6 +115,28 @@ docker run -p 80:80 ems-frontend-prod
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## Version Management
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# List all versions
|
||||||
|
git tag -l
|
||||||
|
|
||||||
|
# Download a specific version
|
||||||
|
git checkout v1.1.0
|
||||||
|
|
||||||
|
# Download as zip
|
||||||
|
curl -o template-v1.1.0.zip \
|
||||||
|
"http://100.69.143.96:3300/tianpu/ems-frontend-template/archive/v1.1.0.zip"
|
||||||
|
|
||||||
|
# Go back to latest
|
||||||
|
git checkout master
|
||||||
|
```
|
||||||
|
|
||||||
|
When releasing: update `VERSIONS.json` + `package.json` version, then tag and push.
|
||||||
|
See [ems-core README](http://100.69.143.96:3300/tianpu/ems-core) for the full version management guide.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## Notes
|
## Notes
|
||||||
|
|
||||||
- Not all pages are needed for every customer -- remove unused page imports from `App.tsx`
|
- Not all pages are needed for every customer -- remove unused page imports from `App.tsx`
|
||||||
|
|||||||
Reference in New Issue
Block a user