From b75ee54f5643cba11700b7ec537fbbab177d6928 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Wed, 25 Aug 2021 11:57:37 -0500 Subject: [PATCH] Update Manual Release Instructions (#6152) * Update RELEASE.md Use `jupyter_releaser` for its build dependencies (`build`, `twine`, `tbump`) * Update RELEASE.md --- RELEASE.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index f6b5c0b0f..81fdd0fde 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" ```