Add version match against v* 31/6631/1
authorMike Marchetti <mmarchetti@sandvine.com>
Fri, 5 Oct 2018 01:22:48 +0000 (21:22 -0400)
committerMike Marchetti <mmarchetti@sandvine.com>
Fri, 5 Oct 2018 01:22:48 +0000 (21:22 -0400)
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
setup.py

index 6cfe17b..cdccff9 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@ setup(
     name='osm_im',
     description='OSM Information Model',
     long_description = open('README.rst').read(),
-    version_command=('git describe --tags --long --dirty', 'pep440-git'),
+    version_command=('git describe --tags --long --dirty --match v*', 'pep440-git'),
     author='Mike Marchetti',
     author_email='mmarchetti@sandvine.com',
     packages=find_packages(),