mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-12 11:45:38 +08:00
c19323de9a
* Use Jupyter Releaser * Automated Changelog Entry for 6.4.0a0 on notebook-releaser * Publish 6.4.0a0 SHA256 hashes: dist/notebook-6.4.0a0-py3-none-any.whl: abbbbb02504cedb85c2d5eeac39ea11615360b9b0075126bf180d6011eac14a5 dist/notebook-6.4.0a0.tar.gz: 2984630a020a9396c61b2c3b98f43b1957dd0121b162a926b3d6136fafa7ca16 * Bump to 6.5.0.dev0 * Remove jupyter_packaging as a runtime requirement * Automated Changelog Entry for 6.4.0a1 on notebook-releaser * Publish 6.4.0a1 SHA256 hashes: dist/notebook-6.4.0a1-py3-none-any.whl: 4b0ae5cb972b5b16b18b942810b85859185ef2081017dd495e5f57099ce06ef4 dist/notebook-6.4.0a1.tar.gz: c48e10d34afa35e304e3b7deca1882508195960f35c4661dec044bb8da344ae5 * Bump to 6.5.0.dev0 * Update notebook/_version.py Co-authored-by: Kevin Bates <kbates4@gmail.com> * Update pyproject.toml Co-authored-by: Kevin Bates <kbates4@gmail.com> Co-authored-by: GitHub Action <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Steven Silvester <steven.silvester@ieee.org> Co-authored-by: Kevin Bates <kbates4@gmail.com>
1.4 KiB
1.4 KiB
Making a Release of Notebook
Using jupyter_releaser
The recommended way to make a release is to use jupyter_releaser
.
Manual Release Process
Start from a fresh git checkout and conda environment
Set the release branch
export release_branch=master
Create the git checkout
git clone git@github.com:jupyter/notebook.git
cd notebook
git checkout ${release_banch}
Create and activate the conda environment
conda create -n notebook-release -c conda-forge jupyter
conda activate notebook-release
Perform a local dev install
pip install -ve .
Install release dependencies
conda install -c conda-forge nodejs babel twine build
npm install -g po2json
Update the version
vim notebook/_version.py
python setup.py jsversion
git commit -am "Release $(python setup.py --version)"
git tag $(python setup.py --version)
Create the artifacts
rm -rf dist
python -m build .
Upload the artifacts
twine check dist/* && twine upload dist/*
Change back to dev version
vim notebook/_version.py # Add the .dev suffix
python setup.py jsversion
git commit -am "Back to dev version"
Push the commits and tags
git push origin ${release_branch} --tags