Debian Codegraph @

RELEASING.md

raw
1 # Releasing
2
3 ## Using `jupyter_releaser`
4
5 The recommended way to make a release is to use [`jupyter_releaser`](https://github.com/jupyter-server/jupyter_releaser#checklist-for-adoption).
6
7 ## Manual Release
8
9 ### Prerequisites
10
11 - First check that the CHANGELOG.md is up to date for the next release version
12 - Install packaging requirements: `pip install hatch twine`
13
14 ### Bump version
15
16 - `export version=<NEW_VERSION>`
17 - `hatch version ${version}`
18
19 ### Push to GitHub
20
21 ```bash
22 git push upstream && git push upstream --tags
23 ```
24
25 ### Push to PyPI
26
27 ```bash
28 rm -rf dist/*
29 rm -rf build/*
30 hatch build .
31 twine upload dist/*
32 ```