This project uses Changesets for versioning and release management.
When your PR includes changes that warrant a version bump, run:
pnpm changesetSelect the bump type (major, minor, or patch) and provide a summary. This creates a .changeset/*.md file that should be committed with your PR.
- PRs with changeset files are merged to
main. - The
release.ymlworkflow detects pending changesets and opens (or updates) a "Version Packages" PR. This PR bumpspackage.json, updatesCHANGELOG.md, and consumes the changeset files. - When the Version Packages PR is merged, the workflow creates a
v*tag. - The tag triggers
build-and-release.yml, which builds and signs binaries across all platforms and creates a draft GitHub Release. - Review the draft release and publish it.
- Create a branch from the relevant release tag (e.g.
git checkout -b hotfix/v1.3.1 v1.3.0). - Fix the bug and add a changeset (
pnpm changeset-- typically apatch). - Follow the standard PR and merge process against
main.