Skip to content

Commit c8bf57e

Browse files
authored
Update github action for SB 3.2.x End of OSS Support (#31)
skip updating 3.2 version
1 parent 11f7056 commit c8bf57e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/azure/spring/dev/tools/actions/UpdateSpringCloudAzureSupportFileRunner.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
@Component
4242
public class UpdateSpringCloudAzureSupportFileRunner implements CommandLineRunner {
4343
private static final Logger LOGGER = LoggerFactory.getLogger(UpdateSpringCloudAzureSupportFileRunner.class);
44-
static final List<String> SUPPORTED_VERSIONS = Stream.of("2.5.15", "2.6.15", "2.7.18", "3.0.13", "3.1.12").collect(Collectors.toList());
44+
static final List<String> 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());
4545
static final String NONE_SUPPORTED_VERSION = "NONE_SUPPORTED_SPRING_CLOUD_VERSION";
4646
private final SpringProjectMetadataReader springProjectMetadataReader;
4747
private final Map<String, VersionRange> springCloudCompatibleSpringBootVersionRanges;
@@ -71,7 +71,7 @@ public void run(String... args) throws Exception {
7171
.stream()
7272
.map(CONVERTER::convert)
7373
.filter(Objects::nonNull)
74-
.filter(s -> s.getSpringBootVersion().matches("3\\.[2-9]\\.\\d+")) // Only consider 3.2.x versions or above
74+
.filter(s -> s.getSpringBootVersion().matches("3\\.[3-9]\\.\\d+")) // Only consider 3.3.x versions or above
7575
.peek(s -> s.setSpringCloudVersion(findCompatibleSpringCloudVersion(s.getSpringBootVersion())))
7676
.peek(s -> s.setSupportStatus(findSupportStatus(s.getSpringBootVersion())))
7777
.peek(s -> activeSpringBootVersions.add(s.getSpringBootVersion()))

0 commit comments

Comments
 (0)