Skip to content

Latest commit

 

History

History
11 lines (10 loc) · 657 Bytes

File metadata and controls

11 lines (10 loc) · 657 Bytes

Making a release

  1. Make sure you have access to publish, by running $ npm access ls-collaborators.
  2. While on the main branch, with a clean working directory, $ git checkout -b release.
  3. $ npm run prepare-release. If that was unsuccessful, investigate. If it was successful, the version is bumped and a new commit exists.
  4. Create a new pull request from this branch. The name of the pull request can be same as the commit message.
  5. Merge the pull request.
  6. Switch to the main branch and $ git pull.
  7. $ git tag v$VERSION, where $VERSION is the new version. For example, $ git tag v16.0.0.
  8. $ git push --tags
  9. npm publish