To release a new version of the widgets on PyPI and npm, first checkout
master can cd into the ipywidgets subfolder of the repo root. Make sure the
VersionWidget in widget.py has the correct JS front-end version. Also check
that the front-end version specified in manager-base.js (version) is correct.
Then run the following, replacing the square bracketed content with appropriate values:
npm version [patch/minor/major]
npm publish
git push [upstream master]
git push [upstream] --tags
On GitHub
- Go to https://github.com/ipython/ipywidgets/milestones and click "Close" for the released version.
- Make sure patch, minor, and/or major milestones exist as appropriate.