File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -38,15 +38,15 @@ pip install -ve .
38
38
### Install release dependencies
39
39
40
40
``` bash
41
- conda install -c conda-forge nodejs babel twine build
41
+ conda install -c conda-forge nodejs babel
42
42
npm install -g po2json
43
+ pip install jupyter_releaser # used for build dependencies (build, twine, tbump)
43
44
```
44
45
45
46
### Update the version
46
47
47
48
``` 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
50
50
python setup.py jsversion
51
51
git commit -am " Release $( python setup.py --version) "
52
52
git tag $( python setup.py --version)
@@ -68,7 +68,7 @@ twine check dist/* && twine upload dist/*
68
68
### Change back to dev version
69
69
70
70
``` bash
71
- vim notebook/_version.py # Add the .dev suffix
71
+ tbump --only-patch < dev_version > # Add the .dev suffix
72
72
python setup.py jsversion
73
73
git commit -am " Back to dev version"
74
74
```
You can’t perform that action at this time.
0 commit comments