summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-11-12 13:23:01 +0100
committerCarl Hetherington <cth@carlh.net>2021-11-12 16:20:40 +0100
commite8210032df3c2fadb48c441323d0533aed488bd1 (patch)
treeba4fd967436e05c1f837445f704cd9ae145ace31 /wscript
parentcfbe9d2f44e380efed7a61b5b5c7a2fec7794915 (diff)
Only look for tags which start with v
Diffstat (limited to 'wscript')
-rw-r--r--wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript b/wscript
index da1378cc4..cfc47d6cc 100644
--- a/wscript
+++ b/wscript
@@ -39,7 +39,7 @@ libdcp_version = '1.8.5'
libsub_version = '1.6.5'
this_version = subprocess.Popen(shlex.split('git tag -l --points-at HEAD'), stdout=subprocess.PIPE).communicate()[0]
-last_version = subprocess.Popen(shlex.split('git describe --tags --abbrev=0'), stdout=subprocess.PIPE).communicate()[0]
+last_version = subprocess.Popen(shlex.split('git describe --tags --match v* --abbrev=0'), stdout=subprocess.PIPE).communicate()[0]
# Python 2/3 compatibility; I don't really understand what's going on here
if not isinstance(this_version, str):