Skip to content

Commit b75ee54

Browse files
author
Steven Silvester
authored
Update Manual Release Instructions (#6152)
* Update RELEASE.md Use `jupyter_releaser` for its build dependencies (`build`, `twine`, `tbump`) * Update RELEASE.md
1 parent b2c0789 commit b75ee54

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

RELEASE.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@ pip install -ve .
3838
### Install release dependencies
3939

4040
```bash
41-
conda install -c conda-forge nodejs babel twine build
41+
conda install -c conda-forge nodejs babel
4242
npm install -g po2json
43+
pip install jupyter_releaser # used for build dependencies (build, twine, tbump)
4344
```
4445

4546
### Update the version
4647

4748
```bash
48-
vim notebook/_version.py # update version
49-
vim pyproject.toml # update version to match
49+
tbump --only-patch <new_version> # set the new version
5050
python setup.py jsversion
5151
git commit -am "Release $(python setup.py --version)"
5252
git tag $(python setup.py --version)
@@ -68,7 +68,7 @@ twine check dist/* && twine upload dist/*
6868
### Change back to dev version
6969

7070
```bash
71-
vim notebook/_version.py # Add the .dev suffix
71+
tbump --only-patch <dev_version> # Add the .dev suffix
7272
python setup.py jsversion
7373
git commit -am "Back to dev version"
7474
```

0 commit comments

Comments
 (0)