Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes version ordering for GraalVM dependencies #200

Merged
merged 1 commit into from
Mar 9, 2021

Conversation

ekcasey
Copy link
Member

@ekcasey ekcasey commented Mar 9, 2021

Previously we normalizing GraalVM versions into semver format before sorting. With the release of 21.0.0.2 this caused a bug where version 21.0.0 was overwriting version 21.0.0.2 in the canidate map, causing version 21.0.0.2 to be ignored. With this change we no longer convert to semver before sorting and instead use a simple alphanumeric sort.

Previously we normalizing GraalVM versions into semver format before sorting. With the release of 21.0.0.2 this caused a bug where version 21.0.0 was overwriting version 21.0.0.2 in the canidate map, causing version 21.0.0.2 to be ignored. With this change we no longer convert to semver before sorting and instead use a simple alphanumeric sort.

This is a quick fix and might be fragile to changes such as the introduction of pre-releases releases for release candidates.

Signed-off-by: Emily Casey <ecasey@vmware.com>
@ekcasey ekcasey added type:bug A general bug semver:patch A change requiring a patch version bump labels Mar 9, 2021
@ekcasey ekcasey requested a review from a team March 9, 2021 18:17
@ekcasey ekcasey merged commit 1152b0e into main Mar 9, 2021
@ekcasey ekcasey deleted the bugfix/graalvm-version-candidates branch March 9, 2021 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver:patch A change requiring a patch version bump type:bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant