loro/.changeset
2024-10-09 19:33:32 +08:00
..
config.json chore: bump loro-crdt 2024-04-05 02:25:25 +08:00
README.md docs: update the release guide 2024-10-09 19:33:32 +08:00

Release new versions of loro-wasm and loro-crdt

  • Run pnpm changeset in the root of the repository. The generated markdown files in the .changeset directory should be committed to the repository.
  • Run git cliff -u | pbcopy to generate the changelog and copy it. Then edit the new changelog file.
  • Create PR and merge into main. The GitHub Action will create another PR that once be merged new versions of specified npm packages will be published.

Release Manually

  • Run pnpm changeset in the root of the repository. The generated markdown files in the .changeset directory should be committed to the repository.
  • Run git cliff -u | pbcopy to generate the changelog and copy it. Then edit the new changelog file.
  • Run nr release-wasm to build the WASM crate
  • Run pnpm changeset version to update the version info
  • Commit the changed files
  • Run pnpm changeset publish to publish the packages to npm
  • git push && git push --tags