kubekey
kubekey copied to clipboard
下载的release页面的源码无法编译
Your current KubeKey version
3.0.7,但是不限于这一个版本
Describe this feature
下载的release页面的源码无法编译,报错:fatal: not a git repository (or any of the parent directories): .git
Describe the solution you'd like
下载的release页面的源码无法编译,报错:fatal: not a git repository (or any of the parent directories): .git
Additional information
No response
使用v3.0.7这个tag下的源码,打出来的kk版本又不是3.0.7这个版本,而是下面的版本: kk version: &version.Info{Major:"2", Minor:"1", GitVersion:"v2.1.0-alpha.1.453-e755baf67198d5", GitCommit:"e755baf67198d565689d7207378174f429b508ba", GitTreeState:"clean", BuildDate:"2023-12-28T02:52:30Z", GoVersion:"go1.19", Compiler:"gc", Platform:"linux/amd64"}
hi,Your source code requires git clone, .git is not included in the default zip package
That could be the problem https://github.com/kubesphere/kubekey/issues/1851