[FIX] Package: split the version to not include the latest commit's hash included by the package script

This commit is contained in:
Simon Lejeune 2014-09-18 11:54:25 +02:00
parent 2d81f2cfdd
commit 93845d683c
1 changed files with 2 additions and 0 deletions

View File

@ -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',