Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 976 Bytes

RELEASE.md

File metadata and controls

51 lines (36 loc) · 976 Bytes

Making a Jupyter Server Release

Using jupyter_releaser

The recommended way to make a release is to use jupyter_releaser.

Note that we must use manual versions since Jupyter Releaser does not yet support "next" or "patch" when dev versions are used.

Manual Release

To create a manual release, perform the following steps:

Set up

pip install tbump twine build
git pull origin $(git branch --show-current)
git clean -dffx

Update the version and apply the tag

echo "Enter new version"
read script_version
tbump ${script_version}

Build the artifacts

rm -rf dist
python -m build .

Update the version back to dev

echo "Enter dev version"
read dev_version
tbump ${dev_version} --no-tag
git push origin $(git branch --show-current)

Publish the artifacts to pypi

twine check dist/*
twine upload dist/*