Skip to content

Commit

Permalink
Correct typo in getReleasedVersions filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
deepy committed Oct 13, 2023
1 parent 2d5b18c commit 24ba5dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class GradleVersionData {
.findAll { !it.milestoneFor } // filter out milestones
.<String, VersionNumber, String>collectEntries { [(it.version): VersionNumber.parse(it.version as String)] }
.findAll { it.value.major >= 6 } // only 6.9 and above
.findAll { !(it.value.major == 6 && it.value.minor < 6.9) } // only 6.9 and above
.findAll { !(it.value.major == 6 && it.value.minor < 9) } // only 6.9 and above
.inject([] as List<Map.Entry<String, VersionNumber>>) { releasesToTest, version -> // only test against latest patch versions
if (!releasesToTest.any { it.value.major == version.value.major && it.value.minor == version.value.minor }) {
releasesToTest + version
Expand Down

0 comments on commit 24ba5dd

Please sign in to comment.