Skip to content

Add a custom Liquid filter for semantic-version sorting #78

Description

@briandominick

Arrays that contain strings of semantic software versions (1.2.12, 1.2.1-rc1,1.2.0alpha2,1.2.0alpha12, etc) should be sortable by that version in some sensible way.

https://medium.com/@edgar/how-to-compare-semantic-version-strings-in-ruby-95fbf067de32

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions