Skip to content

Commit 70236cb

Browse files
authored
Fix version tagging
1 parent 7364556 commit 70236cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def gitinfo():
3939
glog = proc.stdout.read()
4040
rv = {}
4141
rv['commit'], rv['timestamp'], rv['date'] = glog.strip().split(None, 2)
42-
version = check_output(['git', 'tag']).decode('ascii').strip()
42+
version = '.post'.join(desc.strip().split('-')[:2]).lstrip('vV')
4343
rv['version'] = version
4444
return rv
4545

0 commit comments

Comments
 (0)