From: Mike Marchetti Date: Tue, 14 Aug 2018 13:16:33 +0000 (-0400) Subject: Match against correct version tag X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F14%2F6414%2F1;p=osm%2Fosmclient.git Match against correct version tag Signed-off-by: Mike Marchetti --- diff --git a/setup.py b/setup.py index 25a397c..bf1f71b 100644 --- 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(),