From: Michael Marchetti Date: Fri, 3 Aug 2018 13:54:11 +0000 (+0200) Subject: Restrict git describe to tags matching v* X-Git-Tag: BUILD_v4.0.1_2^0 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=93212b37ea8f5918e2185f4e9ddb4f92e29bd42b;p=osm%2FIM.git Restrict git describe to tags matching v* Signed-off-by: Michael Marchetti --- 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(),