From 93212b37ea8f5918e2185f4e9ddb4f92e29bd42b Mon Sep 17 00:00:00 2001 From: Michael Marchetti Date: Fri, 3 Aug 2018 15:54:11 +0200 Subject: [PATCH] Restrict git describe to tags matching v* Signed-off-by: Michael Marchetti --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 6cfe17b..cdccff9 100644 --- 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(), -- 2.25.1