Make iuk-source-versions output sorted version numbers
Originally created by @CyrilBrulebois on #17677 (Redmine)
This is mostly cosmetics, and I’d say mostly interesting when building
IUKs serially (glancing at a version number lets you know about the
current progress of those long tasks), but I suppose it’s trivial enough
to be considered: using sort -V
would let us get a sorted listed of
IUKs:
Before/after:
4.0 4.0~beta1 4.0~beta2 4.0~rc1 4.1 4.1.1 4.2 4.2.2 4.3 4.4 4.4.1 4.5 4.5~rc1
4.0~beta1 4.0~beta2 4.0~rc1 4.0 4.1 4.1.1 4.2 4.2.2 4.3 4.4 4.4.1 4.5~rc1 4.5
Also, if we are to implement #17658 (closed), that ensures we can easily double check the recent addition, which would be on the right end every time.
Patch attached.
Feature Branch: feature/17677-make-iuk-source-versions-sort-version-numbers