-
Notifications
You must be signed in to change notification settings - Fork 4
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
insetup.py
- Commit changes onand
push
toorigin
.
git commit -m "Refs #X changes before release"
git push origin <branch_name>
- Once the pull request pass and is merged to
master
, update the localmaster
branch.
git fetch -p git rebase -v origin/master
- In your local
master
branch, create a newtag
and upload toorigin
:
git tag -a v0.5.0.0 -m "Alpha stage of version 0.5"
git push origin v0.5.0.0
- Manually trigger a build of
master
in Travis - Verify Travis uploaded the release to Pypi.
- Verify readthedocs successfully built the documentation.
- Upload the package to pypi
python setup.py sdist upload -r pypi That's all!