- Update
CHANGELOG.md
- Run the following command, substituting
v1.2.3for the last release tag.git log --format="* %s. (%aN)" --no-merges v1.2.3...HEAD | sort - Copy the output to a changelog section at the top of the file.
- Remove entries that don't affect users of the package (e.g. "Build", "Test", or "Spec").
- Format using Keep a changelog conventions.
- Update
package.jsonversion, and stage the changes. - Commit with message
Release X.Y.Z, and create a signed taggit tag -s "vX.Y.Z" -m "Release X.Y.Z" - Push the commit and tag to GitHub.
- Run
npm run build(may run in isolation), followed bynpm publish.
That's all!