prepare 1.10.0 with tag v1.10.0
This commit is contained in:
parent
b036856600
commit
15d1af75d7
6
setup.py
6
setup.py
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue