Skip to content
This repository has been archived by the owner on Oct 30, 2022. It is now read-only.

Latest commit

 

History

History
23 lines (15 loc) · 835 Bytes

publish.md

File metadata and controls

23 lines (15 loc) · 835 Bytes

Creating a release

  1. Create a new release branch from dev:

    git checkout -b release/vX.X.X

  2. Bump the version with lerna without publishing git tags:

    npx lerna version --no-git-tag-version.

    You will be prompted for new version.

  3. Update the change log, commit, and push the branch

  4. Make a PR to master. If you use hub:

    hub pull-request -b master -m "Version X.X.X"

  5. Request a review and wait

  6. Once approved, do a regular merge, not squash merge. Do not delete the branch.

  7. Check that CircleCI properly adds the tags and publishes the new version to npm.

  8. 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."

  9. Merge with a regular merge, not squash merge