Deploy a new Release¶
This documentation is mainly intended for the main developers. The deployment of new releases is automated using Travis CI. However, there are still a few manual steps required in order to deploy a new release. Assume we want to deploy the new version `M.m.b’:
- Create a release branch release-M.m.b
- Adapt VERSION file in the repos root directory: echo M.m.b > VERSION
- Adapt README.md file: adapt links to correct version of User Documentation and Reference
- Adapt doc/source/DEVELOP.rst file: to install correct version of ABCpy
- Merge all desired feature branches into the release branch
- Create a pull/ merge request: release branch -> master
After a successful merge:
- Create tag vM.m.b (git tag vM.m.b)
- Retag tag stable to the current version
- Push the tag (git push –tags)
- Create a release in GitHub
The new tag on master will signal Travis to deploy a new package to Pypi while the GitHub release is just for user documentation.