Match correct version tag
[osm/NBI.git] / setup.py
index 3cdb8ad..f4c9f0d 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,7 @@ setup(
     name=_name,
     description='OSM North Bound Interface',
     long_description=README,
-    version_command=('git describe --tags --long --dirty', 'pep440-git'),
+    version_command=('git describe --match v* --tags --long --dirty', 'pep440-git'),
     # version=VERSION,
     # python_requires='>3.5.0',
     author='ETSI OSM',