Skip to content

Commit

Permalink
Release 0.17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jasongrout committed Jul 7, 2022
1 parent 855a8dd commit 7a2b15d
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 6 deletions.
29 changes: 29 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Release workflow

1. Clone new copy of repository:
```sh
git clone [email protected]:jupyter-widgets/ipyleaflet.git
```
2. Update the version numbers in the following files (see https://github.com/jupyter-widgets/ipyleaflet/commit/48f3cb68cd07e6c4ae7b353a17861e4e51ca4471)
- `ipyleaflet/_version.py` (two places)
- `js/package.json`
- `environment.yml`
3. Make sure the changelog is updated: `CHANGELOG.md`
4. Build and publish to npm (if yarn prompts for the new version, I give the same as what is already in the `package.json`)
```sh
cd js
yarn install && yarn run build && yarn publish
cd ..
```
5. Build and publish Python package
```sh
python -m build
twine upload dist/*
```
6. Update environment environment config with new ipyleaflet pypi download link: `docs/jupyterlite_config.json`
7. Commit and push in git
```sh
git commit -am "Release <VERSION>"
git tag <VERSION>
git push origin master --tags
```
4 changes: 2 additions & 2 deletions docs/jupyterlite_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"LiteBuildConfig": {
"federated_extensions": [
"https://files.pythonhosted.org/packages/py3/j/jupyterlab-widgets/jupyterlab_widgets-1.1.1-py3-none-any.whl",
"https://files.pythonhosted.org/packages/py2.py3/i/ipyleaflet/ipyleaflet-0.16.0-py2.py3-none-any.whl"
"https://files.pythonhosted.org/packages/py2.py3/i/ipyleaflet/ipyleaflet-0.17.0-py2.py3-none-any.whl"
],
"ignore_sys_prefix": true,
"piplite_urls": [
"https://files.pythonhosted.org/packages/py2.py3/i/ipyleaflet/ipyleaflet-0.16.0-py2.py3-none-any.whl",
"https://files.pythonhosted.org/packages/py2.py3/i/ipyleaflet/ipyleaflet-0.17.0-py2.py3-none-any.whl",
"https://files.pythonhosted.org/packages/py2.py3/i/ipython-genutils/ipython_genutils-0.2.0-py2.py3-none-any.whl",
"https://files.pythonhosted.org/packages/py2.py3/i/ipywidgets/ipywidgets-7.7.1-py2.py3-none-any.whl",
"https://files.pythonhosted.org/packages/py2.py3/r/requests/requests-2.27.1-py2.py3-none-any.whl",
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: ipyleaflet
channels:
- conda-forge
dependencies:
- ipyleaflet=0.16.0
- ipyleaflet=0.17.0
- scipy
- bqplot
- rasterio
Expand Down
4 changes: 2 additions & 2 deletions ipyleaflet/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# Distributed under the terms of the Modified BSD License.
#

version_info = (0, 16, 0)
version_info = (0, 17, 0)

__version__ = '%s.%s.%s' % (version_info[0], version_info[1], version_info[2])

EXTENSION_VERSION = '^0.16.0'
EXTENSION_VERSION = '^0.17.0'
2 changes: 1 addition & 1 deletion js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jupyter-leaflet",
"version": "0.16.0",
"version": "0.17.0",
"description": "jupyter - leaflet bridge",
"keywords": [
"jupyter",
Expand Down

0 comments on commit 7a2b15d

Please sign in to comment.