Use pure version number ("2012.1") in tarball name
Makes setup.py use a canonical_version() function that returns the pure (final) version number. That version number is used in tarball name and as the main tarball directory. This brings Keystone in line with the other core projects and needs to be in before Essex-1 delivery. Change-Id: I8adb45ccc619a9a77d7a4da013d7cc9cf6277f86
This commit is contained in:
parent
647f6a91f2
commit
4d774dbdbf
1
AUTHORS
1
AUTHORS
|
@ -30,6 +30,7 @@ Sai Krishna <saikrishna1511@gmail.com>
|
|||
Sirish Bitra <sirish.bitra@gmail.com>
|
||||
Sony K. Philip <sony@hcleai.com>
|
||||
termie <github@anarkystic.com>
|
||||
Thierry Carrez <thierry@openstack.org>
|
||||
Todd Willey <xtoddx@gmail.com>
|
||||
Vishvananda Ishaya <vishvananda@gmail.com>
|
||||
Yogeshwar Srikrishnan <yoga80@yahoo.com>
|
||||
|
|
|
@ -23,6 +23,10 @@ RELEASE_VERSION = "2012.1"
|
|||
RELEASE_VERSION_FINAL = False # becomes true at Release Candidate time
|
||||
|
||||
|
||||
def canonical_version():
|
||||
return RELEASE_VERSION
|
||||
|
||||
|
||||
def version():
|
||||
if RELEASE_VERSION_FINAL:
|
||||
return RELEASE_VERSION
|
||||
|
|
Loading…
Reference in New Issue