tv elm-package-proxy /all-packages/since/*: order!
This commit is contained in:
parent
e35b2c6fc4
commit
2245c818a4
|
@ -274,7 +274,7 @@ in {
|
|||
select(.!="") |
|
||||
sub("^\\./(?<author>[^/]+)/(?<pname>[^/]+)/(?<version>[^/]+)$";"\(.author)/\(.pname)@\(.version)")
|
||||
) |
|
||||
sort_by(split("@") | [.[0]]+(.[1]|split("."))) |
|
||||
sort_by(split("@") | [.[0]]+(.[1]|split(".")|map(tonumber))) |
|
||||
reverse
|
||||
'
|
||||
} |
|
||||
|
|
Loading…
Reference in a new issue