Match against correct version tag 14/6414/1
authorMike Marchetti <mmarchetti@sandvine.com>
Tue, 14 Aug 2018 13:16:33 +0000 (09:16 -0400)
committerMike Marchetti <mmarchetti@sandvine.com>
Tue, 14 Aug 2018 13:20:07 +0000 (09:20 -0400)
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
setup.py

index 25a397c..bf1f71b 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,8 @@ from setuptools import setup, find_packages
 
 setup(
     name='osmclient',
-    version_command=('git describe --tags --long --dirty', 'pep440-git'),
+    version_command=('git describe --match v* --tags --long --dirty',
+                     'pep440-git'),
     author='Mike Marchetti',
     author_email='mmarchetti@sandvine.com',
     packages=find_packages(),