I can't build Chocolatey wtih a Cake exception #4161
Answered
by
gep13
buzhi-kefou
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
gep13
May 30, 2023
Replies: 1 comment 4 replies
-
Can you confirm if you have cloned the Chocolatey CLI repository using git, or have you downloaded the zip file of the source code? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The build for Chocolatey CLI uses a tool called GitVersion in order to assert a semantic version for the current state of the repository. In order for that system to work, it needs the entire history of the git repository to be available, i.e. you need to clone the entire repository, not simply download the zip file of the current source code.