Files
ProxmoxVE/misc
MickLesk 938a20663d fix(tools): get_latest_gh_tag - use matching-refs API for prefix filtering
The /tags endpoint sorts tags by an undocumented order, not by date or
semver. For repos with many tag families (e.g. mongodb/mongo-tools has
r4.x and 100.x tags), the prefixed ones may not appear in the first 100
results. Using /git/matching-refs/tags/<prefix> gets ALL matching tags
in a single API call, then 'sort -V' picks the highest version.
2026-05-04 19:11:14 +02:00
..