mirror of https://github.com/apache/lucene.git
Fix 8.9.0 < 8.10.0 comparison in smokeTestRelease.py script. (#2509)
This commit is contained in:
parent
84499732c1
commit
1ec2a715a2
|
@ -448,7 +448,7 @@ def versionToTuple(version, name):
|
|||
versionTuple = versionTuple[:-2] + ('100',)
|
||||
elif versionTuple[-1].lower()[:2] == 'rc':
|
||||
versionTuple = versionTuple[:-2] + (versionTuple[-1][2:],)
|
||||
return versionTuple
|
||||
return tuple(int(x) if x is not None and x.isnumeric() else x for x in versionTuple)
|
||||
|
||||
|
||||
reUnixPath = re.compile(r'\b[a-zA-Z_]+=(?:"(?:\\"|[^"])*"' + '|(?:\\\\.|[^"\'\\s])*' + r"|'(?:\\'|[^'])*')" \
|
||||
|
|
Loading…
Reference in New Issue