diff --git a/RELEASE.md b/RELEASE.md index f6b5c0b0f3..81fdd0fdee 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -38,15 +38,15 @@ pip install -ve . ### Install release dependencies ```bash -conda install -c conda-forge nodejs babel twine build +conda install -c conda-forge nodejs babel npm install -g po2json +pip install jupyter_releaser # used for build dependencies (build, twine, tbump) ``` ### Update the version ```bash -vim notebook/_version.py # update version -vim pyproject.toml # update version to match +tbump --only-patch # set the new version python setup.py jsversion git commit -am "Release $(python setup.py --version)" git tag $(python setup.py --version) @@ -68,7 +68,7 @@ twine check dist/* && twine upload dist/* ### Change back to dev version ```bash -vim notebook/_version.py # Add the .dev suffix +tbump --only-patch # Add the .dev suffix python setup.py jsversion git commit -am "Back to dev version" ```