- Clone new copy of repository:
git clone [email protected]:jupyter-widgets/ipyleaflet.git
- Update the version numbers in the following files
python/ipyleaflet/_version.py
(two places)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 python/jupyter_leaflet yarn install && yarn run build && yarn publish cd ..
- Build and publish Python package
python -m build python/jupyter_leaflet twine upload python/jupyter_leaflet/dist/jupyter_leaflet* python -m build python/ipyleaflet twine upload python/ipyleaflet/dist/ipyleaflet*
- 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