Handbook
Glossary
latest-semver-tags-matching ( owner repo tag-head -- ref-json/f semver/f )
Vocabulary
build-from-source
Inputs
owner
an
object
repo
an
object
tag-head
an
object
Outputs
ref-json/f
an
object
semver/f
an
object
Definition
USING:
assocs
continuations
github
kernel
semver
sequences
sequences.extras
sorting
splitting
;
IN:
build-from-source
:
latest-semver-tags-matching
( owner repo tag-head -- ref-json/f semver/f )
list-repository-tags-matching
[
"ref"
of
"/"
split1-last
nip
[
>semver
]
[
2drop
f
]
recover
]
zip-with
sift-values
sort-values
?last
?first2
;