X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=wscript;h=cfc47d6cca22031a147f79ae1ff21600f166673c;hp=da1378cc46b80877d5c0bb3f75f31fc692dbfca4;hb=5e74e417e8b3d4e9773d0fad97cf11a5c4eeeccf;hpb=6f2844fee27f6ebb15ea772ea2cbfc7bdf988102 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):