From: Michael Marchetti Date: Fri, 3 Aug 2018 14:16:59 +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=refs%2Fchanges%2F03%2F6403%2F1;p=osm%2FRO.git Restrict git describe to tags matching v* Signed-off-by: Michael Marchetti --- diff --git a/setup.py b/setup.py index 4fa32736..97d7b4b7 100755 --- a/setup.py +++ b/setup.py @@ -41,7 +41,7 @@ _requirements = [ ] setup(name=_name, - version_command=('git describe', 'pep440-git'), + version_command=('git describe --match v*', 'pep440-git'), description = _description, long_description = open('README.rst').read(), author = _author,