This is a guide how to release fastembed
and fastembed-gpu
packages.
-
Accumulate changes in the
main
branch. -
Bump the version in
pyproject.toml
-
Rebase the
gpu
branch onmain
and resolve conflicts if occurred:
git checkout gpu
git rebase main
git push origin gpu
- Draft release notes
- Checkout to
main
and create a tag, e.g.:
git checkout main
git tag -a v0.1.0 -m "Release v0.1.0"
- Checkout
gpu
and create a tag, e.g.:
git checkout gpu
git tag -a v0.1.0-gpu -m "Release v0.1.0"
- Push tags:
git push --tags
- Verify that both packages have been published successfully on PyPI. Try installing them and verify imports.
- Create a release on GitHub with the written release notes.