-
Notifications
You must be signed in to change notification settings - Fork 8
Creating Releases
jaketmp edited this page May 14, 2018
·
3 revisions
To push a new release to PyPI:
- Select the version number for the release (based on Semantic Versioning), in the format '1.2.3'
- Make sure the
develop
branch is up to date with the code you would like to release and the tests are passing - Make sure the
develop
branch of the unittest data repository is up to date
- In the nPYc-toobox repository:
- Merge the
develop
branch in tomaster
- In the
master
branch, update the version numbers inREADME.md
andsetup.py
- Tag this commit, naming the tag in the form 'v1.2.3', add a descriptive summary of the release in the tag body
- Merge the
- Follow the same procedure with the unittest data:
- Merge the
develop
branch in tomaster
- Tag this commit, making sure to tag with the same name used in the nPc-toolbox repository
- Merge the
- Push the merge and tags in in the unittest repository back to GitHub
- Push the merge and tags in in the nPYc-toolbox repository back to GitHub
Travis will then detect a tagged release on the master
branch, package the release and push it up to PyPI.
- In the
develop
branch, bump the version number inREADME.md
andsetup.py
to the next minor version