mediumStudy question · answer published in CI/CD interview questions, so no pointsci-cdgitgithub-actions
git describe fails in CI
A build step uses `git describe --tags` to make the version. It works locally but fails in CI with "No names found". The checkout step uses default settings. What is the likely fix?
Discussion 0
Join free to post in the discussion.
Related questions
- CI vs Continuous DeliveryDevOps Engineer
- Undoing a commit already pushed to mainDevOps Engineer
- What set -euo pipefail doesDevOps Engineer
- Rebase vs mergeDevOps Engineer
- Trunk-based developmentDevOps Engineer
- Where GitHub Actions workflows liveDevOps Engineer
- GitLab CI stagesDevOps Engineer
- Why keep a Jenkinsfile in the repoDevOps Engineer