fix(ci): use shallow tag-only fetch to avoid 504 timeout #2
Reference in New Issue
Block a user
Delete Branch "fix/ci-tag-fetch-504"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The CI build step
Fetch tags (for git describe)fails with:git fetch --tagstriggers full history negotiation against the upstream FreeCAD-derived repo (~45k commits), causing HTTP 504 gateway timeouts on the Gitea instance.Fix
Replace with a depth=1 refspec fetch that pulls only tag refs without negotiating reachable objects behind them:
This is sufficient for
git describe --tags --alwaysto resolve a version string.