Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support lexicographical sorting #17

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

rustycl0ck
Copy link

Allow to return the largest tag after lexicographical sorting. This can
be usefule in returning largest semver tag. Main use case can be in the
projects where multiple versions are supported. For example, v2.38.6
is the latest stable version but a recent security patch was pushed in
version v1.15.8. Thus, it is now possible to sort in lexicographical
order and get the highest semver version (v2.38.6).

Allow to return the largest tag after lexicographical sorting. This can
be usefule in returning largest semver tag. Main use case can be in the
projects where multiple versions are supported. For example, `v2.38.6`
is the latest stable version but a recent security patch was pushed in
version `v1.15.8`. Thus, it is now possible to sort in lexicographical
order and get the highest semver version (`v2.38.6`).

Signed-off-by: rustyclock <[email protected]>
@github-actions github-actions bot added the size/M label Nov 2, 2021
@rustycl0ck
Copy link
Author

ping @micnncim for review/close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant