[FIX] Package: split the version to not include the latest commit's hash included...
[odoo/odoo.git] / setup / package.py
index 4e2016d..a2b92e6 100755 (executable)
@@ -39,6 +39,8 @@ from tempfile import NamedTemporaryFile
 # Utils
 #----------------------------------------------------------
 execfile(join(dirname(__file__), '..', 'openerp', 'release.py'))
+version = version.split('-')[0]
+
 timestamp = time.strftime("%Y%m%d-%H%M%S", time.gmtime())
 PUBLISH_DIRS = {
     'tar.gz': 'src',