Skip to content

Developers

Jose Borreguero edited this page Jan 11, 2018 · 28 revisions

TODOs when releasing a new version:

  • Create issue X for the release, and related branch.
  • Update version string in:
    • __init__.py
    • setup.py
  • Update HISTORY.rst
  • If necessary, update Development Status in setup.py
  • Commit changes and push to origin.

git commit -m "Refs #X changes before release"
git push origin <branch_name>

  • Create a pull request to address the issue and once it passes and is merged into master, update your local master branch.

git fetch -p git rebase -v origin/master

  • In your local master branch, create a new tag and upload to origin:

git tag -a v0.5.0.0 -m "Alpha stage of version 0.5"
git push origin v0.5.0.0

  • Verify readthedocs successfully built the documentation.
  • Upload the package to pypi

python setup.py sdist # creates directory dist/
twine upload dist/*

That's all!

Clone this wiki locally