We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6735cf0 + 5fb074b commit 40d2337Copy full SHA for 40d2337
setup.py
@@ -49,7 +49,7 @@ def getversioncfg():
49
cp0.read(gitarchivecfgfile)
50
if len(cp0.get('DEFAULT', 'commit')) > 20:
51
g = cp0.defaults()
52
- mx = re.search(r'\btag: v(\d[^,]*)', g.pop('refnames'))
+ mx = re.search(r'\btag: (\d[^,]*)', g.pop('refnames'))
53
if mx:
54
g['version'] = mx.group(1)
55
# then try to obtain version data from git.
0 commit comments