mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-02-24 22:15:56 +01:00
Adds a reusable function to fetch the latest tag from a GitHub repo. Useful for projects that only use tags, not full releases (e.g. mongodb/mongo-tools). Features: - Optional prefix filter (e.g. '100.' or 'v') - Optional prefix stripping for clean version output - Skips pre-release tags (rc, alpha, beta, dev, test) - Sorts by version (sort -V) to find the latest - Respects GITHUB_TOKEN for rate limiting