- Make sure you have the latest Reboot (and any other packages):
uv sync- Generate Reboot code
rbt generate- Tag the release (use semantic versioning):
git tag 0.x.y- Update the version in
pyproject.tomlto match the tag:
TAG=$(git describe --tags --abbrev=0 | sed 's/^v//')
sed -i "" "s/^version = \".*\"/version = \"$TAG\"/" pyproject.toml
git add pyproject.toml && git commit -m "Set version to $TAG"- Clean old build artifacts:
rm -rf dist build *.egg-info- (Ensure deps) Install build + upload tools (if not already in the env):
uv pip install --upgrade build twine- Build sdist and wheel:
python -m build- Validate artifacts:
twine check dist/*- Upload to PyPI:
twine upload dist/*- Push all local tags:
git push --tags origin- Update GitHub releases
Go to https://github.com/reboot-dev/durable-mcp-python/releases/new and create a new release for the version just published. See other examples for what you can put in the release notes.