gradle-revapi icon indicating copy to clipboard operation
gradle-revapi copied to clipboard

Sort versions in revapi.yml by semver instead of string sort

Open ash211 opened this issue 1 year ago • 0 comments

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

ash211 avatar Apr 29 '24 16:04 ash211