| commit | 17ff82e0b07456b6cb77480e71f822176e9cdecb | [log] [tgz] |
|---|---|---|
| author | Michael Marchetti <mmarchetti@sandvine.com> | Fri Aug 03 16:16:59 2018 +0200 |
| committer | Michael Marchetti <mmarchetti@sandvine.com> | Fri Aug 03 16:16:59 2018 +0200 |
| tree | c010b5c64faec0c8fb9890da6f76051d54cbaeca | |
| parent | e72710b0ac189586e822a71a611f87fdce6a917d [diff] [blame] |
Restrict git describe to tags matching v* Signed-off-by: Michael Marchetti <mmarchetti@sandvine.com>
diff --git a/setup.py b/setup.py index 4fa3273..97d7b4b 100755 --- a/setup.py +++ b/setup.py
@@ -41,7 +41,7 @@ ] 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,