[IMP] change version number
authorChristophe Simonis <christophe@tinyerp.com>
Fri, 14 Aug 2009 10:38:37 +0000 (12:38 +0200)
committerChristophe Simonis <christophe@tinyerp.com>
Fri, 14 Aug 2009 10:38:37 +0000 (12:38 +0200)
bzr revid: christophe@tinyerp.com-20090814103837-yl6iqkw4fnywhejn

bin/release.py
setup.py

index 3d8b1f8..687eb12 100644 (file)
@@ -22,8 +22,7 @@
 ##############################################################################
 
 name = 'openerp-server'
-version = '5.0.2'
-release = '0'
+version = '5.0.3-bzr'
 major_version = '5.0'
 description = 'OpenERP Server'
 long_desc = '''\
index 54df42a..47ea152 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -46,8 +46,8 @@ opj = os.path.join
 
 execfile(opj('bin', 'release.py'))
 
-if sys.argv[1] != 'bdist_rpm':
-    version = version + '-' + release
+if sys.argv[1] == 'bdist_rpm':
+    version = version.split('-')[0]
 
 # get python short version
 py_short_version = '%s.%s' % sys.version_info[:2]