From b4dd3757d786c380385c55aa2967d4a8d2ca5190 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Wed, 25 Aug 2021 06:22:02 -0500 Subject: [PATCH 1/2] Update RELEASE.md Use `jupyter_releaser` for its build dependencies (`build`, `twine`, `tbump`) --- RELEASE.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index f6b5c0b0f3..ecf95df92f 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -38,14 +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 +tbump --only-patch # set the new version vim pyproject.toml # update version to match python setup.py jsversion git commit -am "Release $(python setup.py --version)" @@ -68,7 +69,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" ``` From fd08e9f52c58ef71979559c0d242725d629d5759 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Wed, 25 Aug 2021 09:22:05 -0500 Subject: [PATCH 2/2] Update RELEASE.md --- RELEASE.md | 1 - 1 file changed, 1 deletion(-) diff --git a/RELEASE.md b/RELEASE.md index ecf95df92f..81fdd0fdee 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -47,7 +47,6 @@ pip install jupyter_releaser # used for build dependencies (build, twine, tbump ```bash tbump --only-patch # set the new version -vim pyproject.toml # update version to match python setup.py jsversion git commit -am "Release $(python setup.py --version)" git tag $(python setup.py --version)