Releasing a new version
September 8, 2023 ยท View on GitHub
- Merge your changes to master and be on
master - Run
npm version <major|minor|patch>- This builds the distribution file
particle.js.minand generates the API documentation. Before the command finishes, updateCHANGELOG.md.
- This builds the distribution file
- Push to origin
git push --follow-tags - CircleCI will publish the npm package to the
latesttag - Create a release on GitHub with the notes from the
CHANGELOG.md - Point your project to the new version
npm install particle-api-js@latest
- After updating major version, update the installation instructions in the docs