- Review open issues and PRs to see if any can easily be fixed, closed, or merged.
- Bump copyright year in
README.md
, if necessary. - Consider whether any dependencies need to be updated.
- Review
CHANGELOG.md
for completeness and correctness. Update its release date. - Set the new version in
package.json
. - Run
npm publish
. You can do this from the release branch. This will generate the docs, deploy docs, and publish the module to NPM. - Create a release PR containing the updates relating to any of the steps above.
- Tag the release, e.g.
git tag -a v1.2.3 -m v1.2.3
- Push the tag:
git push --tags
- Create the release on GitHub. You can use the web interface.
- Verify the release on NPM.
- Run
mkdir -p local && ./bin/install-precious local
to set up Precious locally - Run
./git/setup.sh
to set up pre-commit hook that invokes Precious