From 240975b2c0f551dfa1469438a7c7a5a72c94e2b7 Mon Sep 17 00:00:00 2001 From: Du Wenbo Date: Mon, 6 Apr 2026 09:09:00 +0800 Subject: [PATCH] docs: add version management section to README Co-Authored-By: Claude Opus 4.6 (1M context) --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index a821537..33ae72a 100644 --- a/README.md +++ b/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 - Not all pages are needed for every customer -- remove unused page imports from `App.tsx`