Steps for releasing:
- Review open issues and PRs to see if any can easily be fixed, closed, or
merged.
- Bump copyright year in
README.md
, if necessary. - Review
CHANGELOG.md
for completeness and correctness. Update its - Bump the version in
package.json
. - Create a release PR containing the updates relating to any of the steps
above.
- Ensure that the release PR is merged into main.
- With
main
checked out, runnpm publish
. This will generate the
docs, deploy docs, and publish the module to NPM.
- Create and push a git tag (eg
git tag v4.2.0 && git push --tags
). - Manually create a release on GitHub to include the release-specific
notes found in `CHANGELOG.md`.
- Verify the release on
[GitHub](https://github.com/maxmind/minfraud-api-node/releases) and
[NPM](https://npmjs.com/package/@maxmind/minfraud-api-node).