prepare 1.10.0 with tag v1.10.0

This commit is contained in:
Thomas NOËL 2014-04-24 16:31:04 +02:00
parent b036856600
commit 15d1af75d7
2 changed files with 5 additions and 3 deletions

View File

@ -94,9 +94,11 @@ def get_version():
version_file.close()
return version
if os.path.exists('.git'):
p = subprocess.Popen(['git','describe','--long'], stdout=subprocess.PIPE)
p = subprocess.Popen(['git','describe','--match=v*'], stdout=subprocess.PIPE)
result = p.communicate()[0]
return result.split()[0].replace('-','.')
version = result.split()[0][1:]
version = version.replace('-', '.')
return version
from wcs import __version__ as version
return version

View File

@ -18,7 +18,7 @@ import sys
import os
sys.path.insert(0, os.path.dirname(__file__))
__version__ = '1.9'
__version__ = '1.10.0'
import qommon