-
Couldn't load subscription status.
- Fork 18
How to release
Birgit Schachler edited this page Jul 19, 2018
·
5 revisions
This is quick on how to publish and ship a new release of eDisGo.
- Check
setup.py - Update version number in conf.py
- Make sure desired changes (PRs) are merged to
dev - Check docs
- Build docs locally
- Remove errors and warnings as far as possible
- Check HTML build
- What's new
- Set release date in "What's new"
- Make sure list of changes, bug fixes and new features is complete. Consider to scan issue attached to the milestone that were closed
- Add latest "What's new" to What's new documentation
- Create a PR from
devtomaster - Let a reviewer merge it or merge it yourself
- Create a release tag on
master. Preferably, use GitHub for that. - Pull master to your local repository (incl. new tag)
- Release via PyPI (if you don't have permissions for this repo, ask someone who does)
- The upload requires a
~/.pypircfile with your PyPI credentials. - Make sure you are in
masterbranch. - Use
python3 setup.py register sdist uploadto register and upload package to PyPI.
- The upload requires a
- Set version for next release in setup.py of
dev - Create "What's new" file for next version
- Celebrate! 🎆 🍾 👏