mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-07 00:58:52 +02:00
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.