You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by cp...@apache.org on 2021/06/08 14:51:21 UTC
[lucene-solr] branch branch_8x updated: Fix 8.9.0 < 8.10.0
comparison in smokeTestRelease.py script. (#2509)
This is an automated email from the ASF dual-hosted git repository.
cpoerschke pushed a commit to branch branch_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/branch_8x by this push:
new ddc5eff Fix 8.9.0 < 8.10.0 comparison in smokeTestRelease.py script. (#2509)
ddc5eff is described below
commit ddc5effa4bbd1348f2cfe466f602467b53946dbd
Author: Christine Poerschke <cp...@apache.org>
AuthorDate: Tue Jun 8 15:44:59 2021 +0100
Fix 8.9.0 < 8.10.0 comparison in smokeTestRelease.py script. (#2509)
---
dev-tools/scripts/smokeTestRelease.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-tools/scripts/smokeTestRelease.py b/dev-tools/scripts/smokeTestRelease.py
index 1513295..e1cf178 100755
--- a/dev-tools/scripts/smokeTestRelease.py
+++ b/dev-tools/scripts/smokeTestRelease.py
@@ -450,7 +450,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"|'(?:\\'|[^'])*')" \