You are not logged in.
It will be good, but I want such -dyn packages to allow always cally the latest tag (or latest from selected tags), not just specific tag.
Is some text missing before "cally"?
You could dynamically return any tag / branch from the function _get_tag_or_branch_to_build.
I did a deep dive into how to get sorted tags without downloading any git objects here.
Of course, use pkgver() to generate a version based upon the variable you captured from _get_tag_or_branch_to_build.
Offline
Is some text missing before "cally"?
cally is a typo for "call"
I mean than I want package, which PKGBUILD contain some tag pattern, and all tags will retreived on build and conforming tag with latest date should be chosen.
Offline
git -c 'versionsort.suffix=-' ls-remote -t --exit-code --refs --sort=-v:refname \
https://github.com/robert7/nixnote2 'v*' \
| sed -En '1!q;s/^[[:xdigit:]]+[[:space:]]+refs\/tags\/(.+)/\1/gp'
v2.1.0-beta4g
Where 'v*' is your pattern.
Explanation here.
Offline
thanks.
Offline