Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix latest stable version number retrieval (linkerd#1063)
Followup to linkerd#1060 The problem with the previous way was that we just picked the latest (by date) version published in Github, which doesn't work when we publish a minor version for an older major version. E.g. the latest (by version) stable being 2.10.1, then we publish 2.9.5, then this algorithm will wrongly pick 2.9.5 as the latest stable. In this fix we get the list of stable versions from github, sort using `sort -V` and pick the latest item. Co-authored-by: cpretzer <[email protected]>
- Loading branch information