Re: Differences in compound tag sorting between 2.27.0 and 2.21.0
- From
- Matthew Timothy Kennerly <mtkennerly@gmail.com>
- Date
- Sep 27, 2020, 20:35 UTC
- Message-ID
- <CAKqNo6T2RMCgEhTcweicN9w0+tCDKcnsJ93vLKTQem4Sc6-qcw@mail.gmail.com>
- In-Reply-To
- <871rinf0z5.fsf@kyleam.com>
On Sun, Sep 27, 2020 at 3:56 PM Kyle Meyer <kyle@kyleam.com> wrote:
> (Also, I'm not sure > what the wider context for this sorting is, but perhaps just > --sort=-version:refname would do what you want?)
Unfortunately, I can't make any assumptions about how the versions look. This is for Dunamai ( https://github.com/mtkennerly/dunamai ), which computes a dynamic version based on the distance from the most recent version-like tag. Although it encourages a reasonable default, the meaning of "version-like" can be configured to handle arbitrary versioning schemes.
MTK