ref: f5bb097efa323f274022c11f1944a91f53282f74
parent: aa5e0a3b1423c659430c1bb7a1e06663eb7ee70e
author: Paul Brossier <piem@piem.org>
date: Thu Mar 23 14:56:26 EDT 2017
this_version.py: fix release mode
--- a/this_version.py
+++ b/this_version.py
@@ -60,7 +60,9 @@
pep440str = aubio_version.replace('+', '.')
verstr = pep440str.replace('~git.', 'a0+')
elif '~alpha' in aubio_version:
- verstr = "a0"
+ verstr = aubio_version.replace('~alpha', 'a0')
+ else:
+ verstr = aubio_version
return verstr
def get_git_revision_hash(short=True):