From 77a9029f18eda459eef32d46f4417c016a7da1cc Mon Sep 17 00:00:00 2001 From: Mike Marchetti Date: Tue, 14 Aug 2018 09:16:33 -0400 Subject: [PATCH] Match against correct version tag Signed-off-by: Mike Marchetti --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(), -- 2.25.1