- Add tests
- Ensure tests pass locally and on CI. Check that the coverage is reasonable.
- Make a release commit, where you remove the
, 'dev'
entry in_version.py
. - Update the version in
package.json
- Relase the npm packages:
npm login npm publish
- Install publish dependencies:
pip install build twine
- Build the assets and publish
python -m build . twine check dist/* twine upload dist/*
- Tag the release commit (
git tag <python package version identifier>
) - Update the version in
_version.py
, and put it back to dev (e.g. 0.1.0 -> 0.2.0.dev). Update the versions of the npm packages (without publishing). - Commit the changes.
git push
andgit push --tags
.