File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11## Make a release, publish to PyPI
22
3- 0 . Generate Reboot code
3+ 1 . Make sure you have the latest Reboot (and any other packages):
4+
5+ ``` console
6+ uv sync
7+ ```
8+
9+ 2 . Generate Reboot code
410
511``` console
612rbt generate
713```
814
9- 1 . Tag the release (use semantic versioning):
15+ 3 . Tag the release (use semantic versioning):
1016
1117``` console
1218git tag 0.x.y
1319```
1420
15- 2 . Update the version in ` pyproject.toml ` to match the tag:
21+ 4 . Update the version in ` pyproject.toml ` to match the tag:
1622
1723``` console
1824TAG=$(git describe --tags --abbrev=0 | sed 's/^v//')
1925sed -i "" "s/^version = \".*\"/version = \"$TAG\"/" pyproject.toml
2026git add pyproject.toml && git commit -m "Set version to $TAG"
2127```
2228
23- 2 . Clean old build artifacts:
29+ 5 . Clean old build artifacts:
2430
2531``` console
2632rm -rf dist build *.egg-info
2733```
2834
29- 3 . (Ensure deps) Install build + upload tools (if not already in the env):
35+ 6 . (Ensure deps) Install build + upload tools (if not already in the env):
3036
3137``` console
3238uv pip install --upgrade build twine
3339```
3440
35- 4 . Build sdist and wheel:
41+ 7 . Build sdist and wheel:
3642
3743``` console
3844python -m build
3945```
4046
41- 5 . Validate artifacts:
47+ 8 . Validate artifacts:
4248
4349``` console
4450twine check dist/*
4551```
4652
47- 6 . Upload to PyPI:
53+ 9 . Upload to PyPI:
4854
4955``` console
5056twine upload dist/*
5157```
5258
53- 7 . Push all local tags:
59+ 10 . Push all local tags:
5460
5561``` console
5662git push --tags origin
5763```
5864
59- 8 . Update GitHub releases
65+ 11 . Update GitHub releases
6066
6167Go to https://github.com/reboot-dev/durable-mcp-python/releases/new
6268and create a new release for the version just published. See other
You can’t perform that action at this time.
0 commit comments