Apache Solr open-source search software
Fix version parsing in dev-tools
Houston Putman637f3705e875
diff --git a/dev-tools/scripts/addVersion.py b/dev-tools/scripts/addVersion.pyindex b84c39f4c3b..e1a0d381bfc 100755--- a/dev-tools/scripts/addVersion.py+++ b/dev-tools/scripts/addVersion.py@@ -46,7 +46,7 @@ def update_changes(filename, new_version, init_changes, headers):def update_solrversion_class(new_version):filename = 'solr/core/src/java/org/apache/solr/util/SolrVersion.java'print(' changing version to %s...' % new_version.dot, end='', flush=True)- constant_prefix = 'private static final String LATEST_STRING = "(.*?)"'+ constant_prefix = 'public static final String LATEST_STRING = "(.*?)"'matcher = re.compile(constant_prefix)def edit(buffer, match, line):