-
Create a new release branch from
dev
:git checkout -b release/vX.X.X
-
Bump the version with lerna without publishing git tags:
npx lerna version --no-git-tag-version
.You will be prompted for new version.
-
Update the change log, commit, and push the branch
-
Make a PR to master. If you use hub:
hub pull-request -b master -m "Version X.X.X"
-
Request a review and wait
-
Once approved, do a regular merge, not squash merge. Do not delete the branch.
-
Check that CircleCI properly adds the tags and publishes the new version to npm.
-
Create a new PR from the release branch but this time to
dev
:hub pull-request -b dev -m "Version X.X.X to dev."
-
Merge with a regular merge, not squash merge
This repository has been archived by the owner on Oct 30, 2022. It is now read-only.