From 8cb9078a6b3b237f66c374a15f811996fb98f1bb Mon Sep 17 00:00:00 2001 From: Muyao Feng <92105726+Netyyyy@users.noreply.github.com> Date: Mon, 19 Feb 2024 13:14:24 +0800 Subject: [PATCH] Exclude version 2.7.18 when getting metadata (#27) --- .../tools/actions/UpdateSpringCloudAzureSupportFileRunner.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/azure/spring/dev/tools/actions/UpdateSpringCloudAzureSupportFileRunner.java b/src/main/java/com/azure/spring/dev/tools/actions/UpdateSpringCloudAzureSupportFileRunner.java index 672bddb..d9fd342 100644 --- a/src/main/java/com/azure/spring/dev/tools/actions/UpdateSpringCloudAzureSupportFileRunner.java +++ b/src/main/java/com/azure/spring/dev/tools/actions/UpdateSpringCloudAzureSupportFileRunner.java @@ -71,6 +71,7 @@ public void run(String... args) throws Exception { .stream() .map(CONVERTER::convert) .filter(Objects::nonNull) + .filter(s -> s.getSpringBootVersion().matches("3\\.\\d\\.\\d+")) // Only consider 3.x.x versions .peek(s -> s.setSpringCloudVersion(findCompatibleSpringCloudVersion(s.getSpringBootVersion()))) .peek(s -> s.setSupportStatus(findSupportStatus(s.getSpringBootVersion()))) .peek(s -> activeSpringBootVersions.add(s.getSpringBootVersion()))