gradle-revapi
gradle-revapi copied to clipboard
Sort versions in revapi.yml by semver instead of string sort
What happened?
Entries in .palantir/revapi.yml have their versions sorted by string-sort instead of semver-sort. Example:
https://github.com/palantir/atlasdb/blob/10fa2981fda1352cd450614338291d741cf73c79/.palantir/revapi.yml#L77-L109
What did you want to happen?
Sort the versions by semver-sort. Last year I did the same thing on the internal conjure-backcompat repo's lock files, see FullyOrderableSlsVersion