CircleCI-Public / cimg-openjdk

The CircleCI OpenJDK (Java) Docker Convenience Image.
https://circleci.com/developer/images/image/cimg/openjdk
MIT License
18 stars 25 forks source link

Always provide a MAJOR.MINOR version number #215

Closed bjohnso5 closed 1 month ago

bjohnso5 commented 1 month ago

For our official CircleCI Docker Convenience Image support policy, please see CircleCI docs.

This policy outlines the release, update, and deprecation policy for CircleCI Docker Convenience Images.


Description

The shared release scripting system makes some assumptions about the shape of the version numbers that will be provided, and the OpenJDK 23 release does not fit that assumption currently. This PR appends a ".0" to the full Java version in the case that the full version and the major version match (i.e. if the full version is 23, as is the case here, and the major version is 23, the full version becomes 23.0).

Reasons

To successfully release OpenJDK 22 and 23 images, this deficiency needs to be corrected.

Checklist

Please check through the following before opening your PR. Thank you!