Skip to content

Commit 89564c6

Browse files
bearomorphismLee-W
authored andcommitted
docs(bump): check consistency warning minor update
1 parent 84629b5 commit 89564c6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/commands/bump.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,10 +222,11 @@ In this example, it will detect that `setup.py` contains `1.0.5` instead of `1.2
222222
```
223223

224224
2. Manually update the version in `setup.py` to match the version in `pyproject.toml`:
225-
```python title="setup.py"
225+
```diff title="setup.py"
226226
from setuptools import setup
227227

228-
setup(..., version="1.21.0", ...)
228+
- setup(..., version="1.0.5", ...)
229+
+ setup(..., version="1.21.0", ...)
229230
```
230231

231232
3. Run the bump command again:

0 commit comments

Comments
 (0)