Releasing a new versionΒΆ

These are the steps needed to release a new version:

  1. Increment the version in versionwarning/__init__.py

  2. Increment the version in package.json

  3. Update the CHANGELOG.rst

  4. Update npm:

    $ npm update
    
  5. Compile assets:

    $ npm install
    $ ./node_modules/.bin/webpack
    
  6. Commit the changes: git commit -m "Release $NEW_VERSION"

  7. Tag the release in git: git tag $NEW_VERSION

  8. Push the tag to GitHub: git push --tags origin

  9. Upload the package to PyPI:

    $ rm -rf dist/
    $ python setup.py sdist bdist_wheel
    $ twine upload dist/*