You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ho...@apache.org on 2023/03/13 19:09:10 UTC
[solr] branch branch_9_2 updated: Fix version parsing in dev-tools
This is an automated email from the ASF dual-hosted git repository.
houston pushed a commit to branch branch_9_2
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/branch_9_2 by this push:
new 0c5fd050f34 Fix version parsing in dev-tools
0c5fd050f34 is described below
commit 0c5fd050f34186ec70d3f3a2de7a6f5b573e4293
Author: Houston Putman <ho...@apache.org>
AuthorDate: Mon Mar 13 15:07:48 2023 -0400
Fix version parsing in dev-tools
Relates to a change created by SOLR-16346
---
dev-tools/scripts/addVersion.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-tools/scripts/addVersion.py b/dev-tools/scripts/addVersion.py
index 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):