Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit dad0a3e

Browse files
authored
Create RELEASE.md
1 parent 9599b02 commit dad0a3e

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

RELEASE.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# jupyter-dash release process:
2+
3+
- Update the version number in two places:
4+
- `jupyter_dash/version.py`
5+
- `extensions/jupyterlab/package.json`
6+
- Update `CHANGELOG.md` using the new version number and any changes since the last release
7+
- Empty old tarballs from `dist/` and `jupyter_dash/labextension/dist/`
8+
- Build the extension: `python setup.py build_js`
9+
- Build the PyPI release: `python setup.py sdist bdist_wheel`
10+
- Sanity:
11+
- In an env with jupyter installed, `pip install dist/jupyter_dash<...>.whl`
12+
- Run jupyter lab - it should ask to rebuild. After it finishes, make sure it’s working and using the newly installed package
13+
- Upload to PyPI: `twine upload dist/*`
14+
- Build the conda release, in an env with conda: `conda build conda.recipe/`
15+
- Find and run the command it prints near the end of its output: `anaconda upload <path>`
16+
- commit all of this to master - you should see:
17+
- the version change (two places you explicitly changed, plus one autogenerated by build_js)
18+
- `CHANGELOG.md`
19+
- the new extension tarball in `jupyter_dash/labextension/dist/` replacing the old
20+
- tag it: `git tag -a ‘vX.Y.Z’ -m ‘vX.Y.Z’`
21+
- `git push origin master`
22+
- `git push origin —tags`
23+
- on GitHub, draft a new release - choose the new tag, give it exactly the same name as the tag. For the description, copy in the changelog entry for the new release.

0 commit comments

Comments
 (0)