Skip to content

Latest commit

 

History

History
69 lines (47 loc) · 1.15 KB

File metadata and controls

69 lines (47 loc) · 1.15 KB

Make a release, publish to PyPI

  1. Make sure you have the latest Reboot (and any other packages):
uv sync
  1. Generate Reboot code
rbt generate
  1. Tag the release (use semantic versioning):
git tag 0.x.y
  1. Update the version in pyproject.toml to 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"
  1. Clean old build artifacts:
rm -rf dist build *.egg-info
  1. (Ensure deps) Install build + upload tools (if not already in the env):
uv pip install --upgrade build twine
  1. Build sdist and wheel:
python -m build
  1. Validate artifacts:
twine check dist/*
  1. Upload to PyPI:
twine upload dist/*
  1. Push all local tags:
git push --tags origin
  1. 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.