Skip to content

Instantly share code, notes, and snippets.

@sloria
Forked from audreyfeldroy/pypi-release-checklist.md
Last active April 8, 2018 02:57
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save sloria/6277657 to your computer and use it in GitHub Desktop.
Save sloria/6277657 to your computer and use it in GitHub Desktop.

Works well with sloria's cookiecutter-pypackage template.

  • Update HISTORY.rst
  • Update version number in my_project/__init__.py
  • Run the tests:
git checkout dev
python setup.py test
tox
  • Commit the changes:
git add . --all
git commit -m "Bumpversion 0.1.0 -> 0.1.1"
  • Push the commit.
git push
  • Wait for Travis-CI to pass
  • If it passes, tag the commit.
git tag 0.1.1
git push --tags
  • Merge into master and publish
git checkout master
git merge dev
git push
invoke publish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment