Description
Steps to Reproduce
- Start a new repo.
- Commit a simple
.craft.yml
file. - Run
craft prepare 0.0.0
.
Expected Result
Successful completion.
Actual Result
$ craft prepare 0.0.0
ℹ Checking the local repository status... 11:45:29
ℹ Releasing version 0.0.0 from main 11:45:29
ℹ Preparing to release the version: 0.0.0 11:45:29
ℹ Created a new release branch: "release/0.0.0" 11:45:29
ℹ Switched to branch "release/0.0.0" 11:45:29
here
ERROR fatal: No names found, cannot describe anything. 11:45:29
at Object.action (/Users/chadwhitacre/workbench/getsentry/craft/dist/craft:154:11690)
at Bae.exec (/Users/chadwhitacre/workbench/getsentry/craft/dist/craft:154:12163)
at /Users/chadwhitacre/workbench/getsentry/craft/dist/craft:154:18969
at new Promise (<anonymous>)
at Xae.handleTaskData (/Users/chadwhitacre/workbench/getsentry/craft/dist/craft:154:18858)
at Xae.<anonymous> (/Users/chadwhitacre/workbench/getsentry/craft/dist/craft:154:18435)
at Generator.next (<anonymous>)
at o (/Users/chadwhitacre/workbench/getsentry/craft/dist/craft:154:16995)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
$
Here's the call that fails:
Lines 35 to 38 in 2ff325e
See:
$ git describe --tags --abbrev=0
fatal: No names found, cannot describe anything.
$