This document describes the technical aspects of the citgm release process. The intended audience is those who have been authorized to create official releases for citgm, hosted on npm.
Any member of the @nodejs/citgm team can make a release.
- Ensure your branch is up to date with upstream
$ git checkout main
$ git remote update -p
$ git reset --hard upstream/main
$ git diff upstream/main # this should be a no-op
- Bump the version and create tag with semver-sync
$ npm version [<newversion> | major | minor | patch]
- Push to github
$ git push upstream main --follow-tags
- Publish to npm
$ npm publish