Instruction file imported from RinDevJunior/matterbridge-roborock-vacuum-plugin (
.github/instructions/release-note.instructions.md). Copyright stays with the author.
Release Guideline
Follow these steps to ensure a consistent and reliable release process:
- Versioning Consistency
- Update the
versionproperty inpackage.json.- Check the current version and increment the
rcversion. - Use the format
x.x.x-rcyy(e.g.,1.1.1-rc01). x.x.xis the major version.-rcstands for release candidate.yyis the candidate version.
- Check the current version and increment the
- Update the
buildpackagecommand inpackage.jsonso the.tgzfilename matches the new version (e.g.,matterbridge-roborock-vacuum-plugin-1.1.2.tgz).
- Documentation Updates
- In
README.md, update theRequires matterbridge@xxxline to match thepreconditionversion inpackage.json.
- Schema and Config Synchronization
- Update the
versionin thedescriptionfield ofmatterbridge-roborock-vacuum-plugin.schema.jsonto the new version. - Update the
versioninmatterbridge-roborock-vacuum-plugin.config.jsonto the new version.
- Source Code Alignment
- In
src/module.ts, set therequiredMatterbridgeVersionto match the requiredmatterbridgeversion specified in thepreconditionfield ofpackage.json.
- General Best Practices
- Double-check all version references for consistency before release.
- Automate these steps if possible to reduce manual errors.