- Clean tree:
git clean -idx
. - Rebuild library locally:
npm install
. - Run tests:
npm test
. - Examine commit history since last release to identify relevant changes.
- Create a signed and annotated git tag:
git tag -s vX.Y.Z
. Include a short description of the relevant changes. - Publish it to GitHub:
git push origin tag vX.Y.Z
. - Wait for Travis and AppVeyor to build precompiled libraries for it. These should get uploaded to a release draft automatically.
- Edit release draft on GitHub and publish it. Change name of release from vX.Y.Z to X.Y.Z. Include description of changes, possibly with improved Markdown formatting.
- Publish release on NPM:
npm publish