- Merge your changes to master and be on
master
- Run
npm version <major|minor|patch>
- This builds the distribution file
particle.js.min
and 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
latest
tag - 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