pylast/RELEASING.md

1.2 KiB

Release Checklist

  • Get master to the appropriate code release state. Travis CI should be running cleanly for all merges to master.
  • Remove .dev0 suffix from version in pylast/__init__.py and setup.py:
git checkout master
edit pylast/__init__.py setup.py
  • Commit and tag with the version number:
git add pylast/__init__.py setup.py
git commit -m "Release 2.1.0"
git tag -a 2.1.0 -m "Release 2.1.0"
  • Create a distribution and release on PyPI:
pip install -U pip setuptools wheel twine keyring
rm -rf build
python setup.py sdist --format=gztar bdist_wheel
twine upload -r pypi dist/pylast-2.1.0*
  • Check installation: pip install -U pylast
  • Push commits and tags:
git push
git push --tags
git checkout master
edit pylast/__init__.py setup.py
  • Commit and push:
git add pylast/__init__.py setup.py
git commit -m "Start new release cycle"
git push