Skip to content

Commit ebf6cbe

Browse files
committed
Update release instructions
1 parent eaab7b9 commit ebf6cbe

2 files changed

Lines changed: 18 additions & 12 deletions

File tree

RELEASE.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,68 @@
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
612
rbt generate
713
```
814

9-
1. Tag the release (use semantic versioning):
15+
3. Tag the release (use semantic versioning):
1016

1117
```console
1218
git 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
1824
TAG=$(git describe --tags --abbrev=0 | sed 's/^v//')
1925
sed -i "" "s/^version = \".*\"/version = \"$TAG\"/" pyproject.toml
2026
git 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
2632
rm -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
3238
uv pip install --upgrade build twine
3339
```
3440

35-
4. Build sdist and wheel:
41+
7. Build sdist and wheel:
3642

3743
```console
3844
python -m build
3945
```
4046

41-
5. Validate artifacts:
47+
8. Validate artifacts:
4248

4349
```console
4450
twine check dist/*
4551
```
4652

47-
6. Upload to PyPI:
53+
9. Upload to PyPI:
4854

4955
```console
5056
twine upload dist/*
5157
```
5258

53-
7. Push all local tags:
59+
10. Push all local tags:
5460

5561
```console
5662
git push --tags origin
5763
```
5864

59-
8. Update GitHub releases
65+
11. Update GitHub releases
6066

6167
Go to https://github.com/reboot-dev/durable-mcp-python/releases/new
6268
and create a new release for the version just published. See other

uv.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)