Extralit Release Guide¶
This guide provides a simplified, step-by-step process for creating a new release of Extralit. Follow these steps to ensure a smooth and consistent release process.
Tips:
- Always update the version in src/argilla/_version.py
before tagging.
- Use clear, descriptive release notes.
- Coordinate with other maintainers if needed.
1. Prepare the Release Branch¶
- Ensure all features and fixes for the release are merged into
develop
. - Create a release branch from
develop
:
2. Open Pull Requests¶
- Open a PR from
releases/vX.Y.Z
intodevelop
(if any last-minute fixes are needed). - Open a PR from
releases/vX.Y.Z
intomain
. - Use "Squash and merge" for a clean history if desired.
3. Merge and Tag the Release¶
- After merging into
main
, checkoutmain
locally and pull the latest changes: - Tag the release:
4. Create the GitHub Release¶
- Go to the GitHub Releases page.
- Click "Draft a new release".
- Set the tag to
vX.Y.Z
. - Add release notes (see previous releases for examples).
- Publish the release.
5. Verify the Release¶
- Monitor GitHub Actions to ensure the release workflow completes successfully.
- Check PyPI to confirm the new version is published.
- Test the CLI:
6. Announce the Release¶
- Share the release notes with the community (Slack, GitHub Discussions, etc.).