Releasing a new versionΒΆ
These are the steps needed to release a new version:
Increment the version in
versionwarning/__init__.pyIncrement the version in
package.jsonUpdate the
CHANGELOG.rstUpdate
npm:$ npm update
Compile assets:
$ npm install $ ./node_modules/.bin/webpack
Commit the changes:
git commit -m "Release $NEW_VERSION"Tag the release in git:
git tag $NEW_VERSIONPush the tag to GitHub:
git push --tags originUpload the package to PyPI:
$ rm -rf dist/ $ python setup.py sdist bdist_wheel $ twine upload dist/*