WIP: Fix git tag detection in GitHub Actions workflow #61
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "copilot/sub-pr-58-another-one"
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?
The workflow's "Extract version info" step uses
git describe --tagsbut the checkout action only fetches the last commit by default, causing tag detection to always fail and return "dev".Changes:
fetch-depth: 0to checkout step to fetch full git history and tagsThis enables
git describe --tags --abbrev=0to correctly resolve tags for version info passed to Docker builds.💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.
Pull request closed