diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-12-05 00:35:38 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-12-05 00:35:38 +0100 |
| commit | 6fc54ae23ffaa521c2ccc873c5f63014e51f2997 (patch) | |
| tree | 34896ec6be89f9989cbed3b3e26a711d930e5c52 | |
| parent | 032e484a267da1262803297a96f23420f01a65c8 (diff) | |
Fix format of versions in .pc files.v1.6.42
| -rw-r--r-- | wscript | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -23,8 +23,8 @@ from waflib import Context APPNAME = 'libsub' -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] +this_version = subprocess.Popen(shlex.split('git tag -l --points-at HEAD'), stdout=subprocess.PIPE).communicate()[0].decode('UTF-8') +last_version = subprocess.Popen(shlex.split('git describe --tags --abbrev=0'), stdout=subprocess.PIPE).communicate()[0].decode('UTF-8') if this_version == '': VERSION = '%sdevel' % last_version[1:].strip() |
