Prepare 1.2-beta1 release.

This commit is contained in:
Emanuel Schuetze 2012-04-29 21:43:21 +02:00
parent 616a34e8a9
commit 8bdd57cada
2 changed files with 3 additions and 4 deletions

View File

@ -1,7 +1,7 @@
English README file for OpenSlides
==================================
This is OpenSlides, version 1.2.
This is OpenSlides, version 1.2-beta1.
What is OpenSlides?

View File

@ -5,7 +5,7 @@
:license: GNU GPL, see LICENSE for more details.
"""
VERSION = (1, 2, 0, 'alpha', 0)
VERSION = (1, 2, 0, 'beta', 1)
def get_version(version=None):
"""Derives a PEP386-compliant version number from VERSION."""
@ -31,8 +31,7 @@ def get_version(version=None):
sub = '.dev'
elif version[3] != 'final':
mapping = {'alpha': 'a', 'beta': 'b', 'rc': 'c'}
sub = mapping[version[3]] + str(version[4])
sub = "-" + version[3] + str(version[4])
return main + sub