Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 820 Bytes

RELEASE.md

File metadata and controls

43 lines (32 loc) · 820 Bytes

How to release

Install release tool

pip install twine
pip install wheel

Prepare release

  • To release a new version of pyvipr on PyPI:
  • Update version_info and frontend_version in _version.py (set release version, remove 'dev')
  • Update frontend version in js/package.json and pyvipr/staticlab/package.json
  • git add the _version.py file and git commit
  • Build the distribution (both )
python setup.py sdist
python setup.py bdist_wheel --universal
  • Tag it
git tag -a X.X.X -m "Version x.x.x release"

Update _version.py (add 'dev' and increment minor) git add and git commit git push git push --tags

  • To release a new version of pyvipr on NPM:
# clean out the `dist` and `node_modules` directories
Update package.json
git clean -fdx
npm install
npm publish