To release a new version of witwidget on PyPI and NPM:
May 7, 2020 ยท View on GitHub
- Ensure updated version numbers have been merged to the master branch in witwidget/version.py and witwidget/notebook/jupyter/js/package.json
- Tag the commit that updates the version with version number and add release notes to the commit description.
- Clone this repository and checkout the commit that set the new version numbers.
bazel run witwidget/pip_package:build_pip_package- Upload the whl files created by the previous step to PyPI as per instructions at https://packaging.python.org/tutorials/packaging-projects/#uploading-the-distribution-archives.
- Publish the new NPM package through running
npm publishin thejs/subdirectory of the package files generated during the build step.