Support revisions in version numbers
Introduce REVISION in versioning scheme, in order to support future stable versioning (2012.2.x). Change-Id: I3015cfbf3938c4994bbda8d63fdbd346b7535a6b
This commit is contained in:
parent
7b565fc983
commit
5d9cbf44a0
@ -19,13 +19,13 @@ version_info = {'branch_nick': u'LOCALBRANCH',
|
||||
'revno': 0}
|
||||
|
||||
|
||||
HORIZON_VERSION = ['2012', '2']
|
||||
YEAR, COUNT = HORIZON_VERSION
|
||||
HORIZON_VERSION = ['2012', '2', None]
|
||||
YEAR, COUNT, REVISION = HORIZON_VERSION
|
||||
FINAL = False # This becomes true at Release Candidate time
|
||||
|
||||
|
||||
def canonical_version_string():
|
||||
return '.'.join([YEAR, COUNT])
|
||||
return '.'.join(filter(None, HORIZON_VERSION))
|
||||
|
||||
|
||||
def version_string():
|
||||
|
Loading…
Reference in New Issue
Block a user