You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ja...@apache.org on 2021/12/14 00:43:25 UTC

[lucene-solr] branch branch_8_11 updated: ReleaseWizard to look for solr-xxx to determine previous release.

This is an automated email from the ASF dual-hosted git repository.

janhoy pushed a commit to branch branch_8_11
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/branch_8_11 by this push:
     new c535df9  ReleaseWizard to look for solr-xxx to determine previous release.
c535df9 is described below

commit c535df9bfd084d43fc1ccd341f764671883bf267
Author: Jan Høydahl <ja...@apache.org>
AuthorDate: Tue Dec 14 01:42:59 2021 +0100

    ReleaseWizard to look for solr-xxx to determine previous release.
---
 dev-tools/scripts/releaseWizard.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-tools/scripts/releaseWizard.py b/dev-tools/scripts/releaseWizard.py
index 3d68f0b..5d20969 100755
--- a/dev-tools/scripts/releaseWizard.py
+++ b/dev-tools/scripts/releaseWizard.py
@@ -350,7 +350,7 @@ class ReleaseState:
         if state.mirrored_versions is None:
             releases_str = load("https://projects.apache.org/json/foundation/releases.json", "utf-8")
             releases = json.loads(releases_str)['lucene']
-            state.mirrored_versions = [ r for r in list(map(lambda y: y[7:], filter(lambda x: x.startswith('lucene-'), list(releases.keys())))) ]
+            state.mirrored_versions = [ r for r in list(map(lambda y: y[5:], filter(lambda x: x.startswith('solr-'), list(releases.keys())))) ]
         return state.mirrored_versions
 
     def get_mirrored_versions_to_delete(self):