To release a new version of HERE Map Widget for Jupyter to PyPI follow the steps below:
- Set release version and remove 'dev' in
here_map_widget/_version.py
. - Create a commit e.g. run
git add the _version.py
andgit commit
, do not do a git push. - Run
python setup.py sdist upload
- Run
python setup.py bdist_wheel upload
- Run
git tag -a X.X.X -m 'comment'
- Increment the minor version number and add 'dev' in
here_map_widget/_version.py
- Create a commit e.g. run
git add
andgit commit
- Push all commits via
git push
- Push all tag via
git push --tags
To release a new version of @here/map-widget-for-jupyter to npmjs.com
- Update
js/package.json
with new npm package version - Clean the
dist
andnode_modules
directories by running the below:
git clean -fdx
npm install
npm publish