Skip to content

Latest commit

 

History

History
49 lines (35 loc) · 946 Bytes

RELEASE.md

File metadata and controls

49 lines (35 loc) · 946 Bytes

Making a Jupyter Server Release

Using jupyter_releaser

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

Manual Release

To create a manual release, perform the following steps:

Set up

pip install pipx
git pull origin $(git branch --show-current)
git clean -dffx

Update the version and apply the tag

echo "Enter new version"
read script_version
pipx run hatch version ${script_version}
git tag -a ${script_version} -m "${script_version}"

Build the artifacts

rm -rf dist
pipx run build .

Update the version back to dev

echo "Enter dev version"
read dev_version
pipx run hatch version ${dev_version}
git push origin $(git branch --show-current)

Publish the artifacts to pypi

pipx run twine check dist/*
pipx run twine upload dist/*