-
Ensure the CHANGELOG is up-to-date.
-
Ensure that
package.jsonandpackage-lock.jsonhave the correctversionproperty (usenpm version --no-git-tag-version X.Y.Z). -
If this release is a major version, update all the example YAML in the README, e.g.
2.0.0would need@v1->@v2. -
All contributions currently go to the
developbranch. To make a new release, checkout to themainbranch and merge withdevelopand then proceed with the release process.
git checkout develop
git pull origin develop
git checkout main
git pull origin main
git merge develop
git push origin main- Create a new named tag:
git tag -a vX.Y.Z -m 'Release version vX.Y.Z'Replace X.Y.Z by the appropriate version number.