aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStevan Radaković <stevan.radakovic@linaro.org>2013-04-10 19:08:15 +0200
committerStevan Radaković <stevan.radakovic@linaro.org>2013-04-10 19:08:15 +0200
commit0dce2aa4924b11ad2a4d112b767fbc6aa8ad3b3d (patch)
tree2486027675d28a6ce2c759b9d3bf25586e99c2dc
parentb09cd33cebb08b9bf9c0414afe7c4f29929dd621 (diff)
downloadrhodecode-footer_version.tar.gz
Switch to new tag naming scheme take 2.footer_version
-rw-r--r--rhodecode/__init__.py4
-rw-r--r--setup.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/rhodecode/__init__.py b/rhodecode/__init__.py
index b1d4422..a9fa36b 100644
--- a/rhodecode/__init__.py
+++ b/rhodecode/__init__.py
@@ -36,8 +36,8 @@ try:
except ImportError:
pass
-__version__ = ('.'.join((str(each) for each in VERSION[:4])) +
- '.'.join(VERSION[4:]))
+__version__ = ('.'.join((str(each) for each in VERSION[:3])) +
+ '.'.join(VERSION[3:]))
__dbversion__ = 10 # defines current db version for migrations
__platform__ = platform.system()
__license__ = 'GPLv3'
diff --git a/setup.py b/setup.py
index 8d6b5c0..3e48554 100644
--- a/setup.py
+++ b/setup.py
@@ -22,7 +22,7 @@ _meta = open(os.path.join(here, 'rhodecode', '__init__.py'), 'rb')
_metadata = _meta.read()
_meta.close()
-callback = lambda V: ('.'.join(map(str, V[:4])) + '.'.join(V[4:]))
+callback = lambda V: ('.'.join(map(str, V[:3])) + '.'.join(V[3:]))
__version__ = _get_meta_var('VERSION', _metadata, callback)
__license__ = _get_meta_var('__license__', _metadata)
__author__ = _get_meta_var('__author__', _metadata)