mirror of
https://github.com/jupyter/notebook.git
synced 2024-11-21 01:11:21 +08:00
4e6282c1e5
* add releaser workflows * add workflow files
738 B
738 B
Releasing Jupyter Notebook
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 hatch twine
git pull origin $(git branch --show-current)
git clean -dffx
Update the version and apply the tag
echo "Enter new version"
read new_version
hatch version ${new_version}
git tag -a ${new_version} -m "Release ${new_version}"
Build the artifacts
rm -rf dist
hatch build
Publish the artifacts to pypi
twine check dist/*
twine upload dist/*