diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-12-05 00:24:17 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-12-05 00:27:00 +0100 |
| commit | f29b074a156a0186bf3725ec33b2230facd7a870 (patch) | |
| tree | c348f9518c9f2759fc92d1a2f515394803c6bfed | |
| parent | 8d6b4e77a5fc6ac4666c460c5c354257af23891d (diff) | |
Fix formatting of versions in .pc files (they were being written as b'0.1.2')v0.17.5
| -rw-r--r-- | wscript | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -24,8 +24,8 @@ from waflib import Context APPNAME = 'libcxml' -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() |
