Skip to content

Commit

Permalink
Update github action for SB 3.2.x End of OSS Support (#31)
Browse files Browse the repository at this point in the history
skip updating 3.2 version
  • Loading branch information
Netyyyy authored Dec 6, 2024
1 parent 11f7056 commit c8bf57e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
@Component
public class UpdateSpringCloudAzureSupportFileRunner implements CommandLineRunner {
private static final Logger LOGGER = LoggerFactory.getLogger(UpdateSpringCloudAzureSupportFileRunner.class);
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());
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());
static final String NONE_SUPPORTED_VERSION = "NONE_SUPPORTED_SPRING_CLOUD_VERSION";
private final SpringProjectMetadataReader springProjectMetadataReader;
private final Map<String, VersionRange> springCloudCompatibleSpringBootVersionRanges;
Expand Down Expand Up @@ -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()))
Expand Down

0 comments on commit c8bf57e

Please sign in to comment.