You need to introduce some kind of semantic versioning to be able to say what the latest release means.
GitHub allows you to declare latest release by the author, rather than implementing an ordering.
I’ve created a RFC for flake versioning but it was closed due to lack of interest.