This repository has been archived by the owner on Jan 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
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.
- 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
andrequirements.txt
. - Merge all outstanding changes into master branch.
- 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 inREADME.rst
in Changelog section. - Create release commit.
- Push this commit to personal upstream, create pull request against main master.
- Build package
- Build the package and test it.
- Merge release commit.
- Merge release pull request.
- 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.
- Upload package
- Upload package to openslides.org and PyPI.
- 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.