| 1 |
# Release Guide |
| 2 |
|
| 3 |
## Using `jupyter_releaser` |
| 4 |
|
| 5 |
The recommended way to make a release is to use [`jupyter_releaser`](https://jupyter-releaser.readthedocs.io/en/latest/get_started/making_release_from_repo.html). |
| 6 |
|
| 7 |
## Manual Release |
| 8 |
|
| 9 |
- Update `CHANGELOG` |
| 10 |
|
| 11 |
- Run the following: |
| 12 |
|
| 13 |
```bash |
| 14 |
export VERSION=<version> |
| 15 |
pip install pipx |
| 16 |
pipx run hatch version $VERSION |
| 17 |
git commit -a -m "Release $VERSION" |
| 18 |
git tag $VERSION; true; |
| 19 |
git push --all |
| 20 |
git push --tags |
| 21 |
rm -rf dist build |
| 22 |
pipx run build . |
| 23 |
pipx run twine check dist/* |
| 24 |
pipx run twine upload dist/* |
| 25 |
``` |