-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For the same major and minor, pre-releases were sorted as newer than stable releases, but this is not correct. This PR fixes that. It also makes the sorting of the `versions.json` file more robust, as it doesn't parse and re-serialize the version object, but instead only uses the `version` field for sorting, and the rest of the fields are dumping verbatim without any rewriting. This means that if new versions of `mike` add more fields to the JSON, we won't need to update the sorting code, as it will just work.
- Loading branch information
Showing
4 changed files
with
201 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.