This is a work-in-progress document and will be updated as we refine our release process.
We track versions during the pull request process. As features are added, modified or improved it's important to keep track of these via versioning.
This is currently done manually. PRs that fix bugs or add features should include an addition to packages/radix-ui-themes/changelog.md
under a new version heading. The actual release version may differ, so be sure to double check this at publish time.
- Checkout latest
main
- Run
pnpm clean && pnpm i && pnpm build
- Run
pnpm lint
and ensure there are no errors - Update the version in
packages/radix-ui-themes/package.json
and ensure the changelog is up to date - Run
pnpm publish -r
to publish the new version
- If publishing a pre-release version, use
pnpm publish -r --tag <tag>
, where<tag>
is the pre-release tag (e.g.alpha
,beta
,rc
)
Our documentation is in a separate repository and updating it is a three step process:
- Write and update the change log
- Bump package version/s and create / update the pages for each version change
- Perform documentation updates and remove live demos from previous versions