Skip to content

Release procedure

lmether edited this page Sep 6, 2021 · 16 revisions

Please proceed as follows:

  • Create a branch of the master for the new release e.g. release/v1.15.0

  • Merge new features into the release branch

  • Run the tests!

  • Change the version number in PyHEADTAIL/_version.py and commit the change

  • From github, open a pull request to the master

  • Merge the pull request from github (requires approval from a second maintainer)

  • Pull the new master

git checkout master
git pull
  • Make sure you have twine, otherwise pip install twine
  • Push the new release to PyPI by running bash release.sh (you need to be a PyHEADTAIL maintainer in PyPI)
  • Make a new release on github from the tag that is automatically created
  • Delete the release branch in github