Fix the version file (don't import glance's git commit)
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
This commit is contained in:
parent
358920e136
commit
8a317678cf
|
@ -14,20 +14,20 @@
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from glance.vcsversion import version_info
|
from heat.vcsversion import version_info
|
||||||
except ImportError:
|
except ImportError:
|
||||||
version_info = {'branch_nick': u'LOCALBRANCH',
|
version_info = {'branch_nick': u'LOCALBRANCH',
|
||||||
'revision_id': 'LOCALREVISION',
|
'revision_id': 'LOCALREVISION',
|
||||||
'revno': 0}
|
'revno': 0}
|
||||||
|
|
||||||
GLANCE_VERSION = ['0.0', '2']
|
HEAT_VERSION = ['0.0', '2']
|
||||||
COUNT, REVISION = GLANCE_VERSION
|
COUNT, REVISION = HEAT_VERSION
|
||||||
|
|
||||||
FINAL = False # This becomes true at Release Candidate time
|
FINAL = False # This becomes true at Release Candidate time
|
||||||
|
|
||||||
|
|
||||||
def canonical_version_string():
|
def canonical_version_string():
|
||||||
return '.'.join(filter(None, GLANCE_VERSION))
|
return '.'.join(filter(None, HEAT_VERSION))
|
||||||
|
|
||||||
|
|
||||||
def version_string():
|
def version_string():
|
||||||
|
|
Loading…
Reference in New Issue