pylast/RELEASING.md

1.4 KiB

Release Checklist

git checkout master
edit pylast/__init__.py setup.py
git add pylast/__init__.py setup.py
git commit -m "Release 2.0.0"
  • Tag the last commit with the version number:
git tag -a 2.0.0 -m "Release 2.0.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.0.0*
  • Check installation: pip install -U pylast
  • Push: git push
  • Push tags: git push --tags
  • Create new GitHub release: https://github.com/pylast/pylast/releases/new
    • Tag: Pick existing tag "2.0.0"
    • Title: "Release 2.0.0"
  • Increment version and append .dev0 in pylast/__init__.py and setup.py and commit:
git checkout master
edit pylast/__init__.py setup.py
git add pylast/__init__.py setup.py
git commit -m "Start new release cycle"
git push
  • Update develop branch from master:
git checkout develop
git merge master --ff-only
git push