- Clone new copy of repository:
git clone [email protected]:jupyter-widgets/ipyleaflet.git
- Update the version numbers in the following files (see https://github.com/jupyter-widgets/ipyleaflet/commit/48f3cb68cd07e6c4ae7b353a17861e4e51ca4471)
ipyleaflet/ipyleaflet_core/ipyleaflet/_version.py
(two places)ipyleaflet/python/jupyter_leaflet/package.json
environment.yml
- Make sure the changelog is updated:
CHANGELOG.md
- Build and publish to npm (if yarn prompts for the new version, I give the same as what is already in the
package.json
)cd ipyleaflet/python/jupyter_leaflet yarn install && yarn run build && yarn publish cd ..
- Build and publish Python package
python -m build twine upload dist/*
- Update environment config with new ipyleaflet pypi download link:
docs/jupyterlite_config.json
- Commit and push in git
git commit -am "Release <VERSION>" git tag <VERSION> git push origin master --tags