-
Notifications
You must be signed in to change notification settings - Fork 29
Release procedure
giadarol edited this page Jan 27, 2020
·
16 revisions
Please proceed as follows:
- Merge master into the develop branch (if needed)
- Merge new features into the develop branch
- Run the tests!
- Change the version number in
PyHEADTAIL/_version.pyand commit the change - Create a release branch and push it to the github repository:
git checkout -b release/v1.14.0
git push --set-upstream origin release/v1.14.0
- From github, open a pull request to the master
- Merge the pull request from github (requires approval from a second maintainer)
- Delete the release branch in github
- Pull the new master
git checkout master
git pull
- Tag the new version and push the new tags
git tag -a v1.14.0 -m "PyHEADTAIL v1.14.0"
git push --tags
- Make a new release on github
- Make sure you have twine and hub. On Ubuntu they can be installed by:
snap install hub --classic
pip install twine
- Push a new release to PyPI, using release script (you need to be a PyHEADTAIL maintainer in PyPI):
python release.py
If you wish to contribute, please feel free to open pull requests. @lmether, @aoeftiger, @like2000