kubekey icon indicating copy to clipboard operation
kubekey copied to clipboard

下载的release页面的源码无法编译

Open john1337 opened this issue 1 year ago • 3 comments

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

john1337 avatar Dec 28 '23 02:12 john1337

使用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"}

john1337 avatar Dec 28 '23 03:12 john1337

hi,Your source code requires git clone, .git is not included in the default zip package

noonme avatar Mar 11 '24 15:03 noonme

That could be the problem https://github.com/kubesphere/kubekey/issues/1851

noonme avatar Mar 11 '24 15:03 noonme