From c8bf57e51737f200c85eca8dd577e411ee18ee94 Mon Sep 17 00:00:00 2001 From: Muyao Feng <92105726+Netyyyy@users.noreply.github.com> Date: Fri, 6 Dec 2024 16:07:12 +0800 Subject: [PATCH] Update github action for SB 3.2.x End of OSS Support (#31) skip updating 3.2 version --- .../actions/UpdateSpringCloudAzureSupportFileRunner.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 a47ce31..92949b5 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 @@ -41,7 +41,7 @@ @Component public class UpdateSpringCloudAzureSupportFileRunner implements CommandLineRunner { private static final Logger LOGGER = LoggerFactory.getLogger(UpdateSpringCloudAzureSupportFileRunner.class); - static final List SUPPORTED_VERSIONS = Stream.of("2.5.15", "2.6.15", "2.7.18", "3.0.13", "3.1.12").collect(Collectors.toList()); + static final List SUPPORTED_VERSIONS = Stream.of("2.5.15", "2.6.15", "2.7.18", "3.0.13", "3.1.12", "3.2.12").collect(Collectors.toList()); static final String NONE_SUPPORTED_VERSION = "NONE_SUPPORTED_SPRING_CLOUD_VERSION"; private final SpringProjectMetadataReader springProjectMetadataReader; private final Map springCloudCompatibleSpringBootVersionRanges; @@ -71,7 +71,7 @@ public void run(String... args) throws Exception { .stream() .map(CONVERTER::convert) .filter(Objects::nonNull) - .filter(s -> s.getSpringBootVersion().matches("3\\.[2-9]\\.\\d+")) // Only consider 3.2.x versions or above + .filter(s -> s.getSpringBootVersion().matches("3\\.[3-9]\\.\\d+")) // Only consider 3.3.x versions or above .peek(s -> s.setSpringCloudVersion(findCompatibleSpringCloudVersion(s.getSpringBootVersion()))) .peek(s -> s.setSupportStatus(findSupportStatus(s.getSpringBootVersion()))) .peek(s -> activeSpringBootVersions.add(s.getSpringBootVersion()))