- Update CHANGELOG.md with changes per Keep a Changelog format.
- Update documentation in
website/docs
(and the latest version inwebsite/versioned_docs
if not releasing a new major version).
Publish from GitHub if possible to add provenance statements.
Note: The "Version" and "Publish" workflows are separate so that the "Publish" workflow can be run against the commit created by the "Version" workflow. This ensures that the provenance statements point to the commit with the latest version tag and not its parent commit.
- Run
npx lerna version [major|minor|patch|prerelease]
(this automatically runs theversion
script in./package.json
before committing and tagging). - Run
npx lerna publish from-git
(add--dist-tag next
if version wasprerelease
in previous step).
- Publish a new release on GitHub.