| commit | b0ae0fefe7813faeac90c0f827ebfff3318c019a | [log] [tgz] |
|---|---|---|
| author | Michael Marchetti <mmarchetti@sandvine.com> | Fri Aug 03 15:19:25 2018 +0200 |
| committer | Michael Marchetti <mmarchetti@sandvine.com> | Fri Aug 03 15:24:52 2018 +0200 |
| tree | a7b3cce32bbfde21e988890d9f10e0288a65e75f | |
| parent | bd15be43bbfba5de91e82c78228e3c40d9a7898b [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 4d4073a..28865c1 100755 --- a/setup.py +++ b/setup.py
@@ -52,7 +52,7 @@ 'osm_openvim/scripts/get_dhcp_lease.sh'] setup(name=__name, - version_command=('git describe', 'pep440-git'), + version_command=('git describe --match v*', 'pep440-git'), description=__description, long_description=__description, author=__author,