Skip to content
This repository has been archived by the owner on Jan 4, 2020. It is now read-only.

Steps for a release

Norman Jäckel edited this page Apr 23, 2016 · 15 revisions

See https://github.com/OpenSlides/OpenSlides/wiki/Make-Release for further details.

  1. Check repository
  • Check README.rst and its installing instructions, esp. check install version number, and version number in Changelog section.
  • Check AUTHORS, setup.py, MANIFEST.in, requirements_production.txt and requirements.txt.
  • Merge all outstanding changes into master branch.
  1. Setup release commit and the following commit
  • Create new local branch on top of development branch with the name 'Release-x.x'.
  • Delete -dev in the version string in __init__.py, set release date in README.rst in Changelog section.
  • Create release commit.
  • Push this commit to personal upstream, create pull request against main master.
  1. Build package
  • Build the package and test it.
  1. Merge release commit.
  • Merge release pull request.
  1. Tag release commit
  • Checkout master and pull from main master.
  • Tag the merge commit with the version number. Use annotate tag. Care of the tagger's email address.
  • Push the new tag to the upstream repository.
  1. Upload package
  • Upload package to openslides.org and PyPI.
  1. Bring back release commit to development branch.
  • Checkout release branch.
  • Update version string in __init__.py and reinsert -dev or inster -post, insert new heading in Changelog section with new version number.
  • Create the following commit.
  • Push branch to personal upstream, create pull request against development branch and merge it.
Clone this wiki locally