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`