提交 164ffbbf 编写于 作者: LinuxSuRen's avatar LinuxSuRen

Discard these changes base the discussion on github

discussion thread is here https://github.com/kubesphere/kubesphere/pull/3163#discussion_r533959311Signed-off-by: LinuxSuRen's avatarrick <rick@jenkins-zh.cn>
上级 53c32049
......@@ -41,12 +41,6 @@ BUILD_GOARCH=${GOARCH:-$(go env GOARCH)}
GOBINARY=${GOBINARY:-go}
LDFLAGS=$(kube::version::ldflags)
# we need to build a particular binary instead of default one in some cases
KS_BUILD_GOOS=${KS_BUILD_GOOS:-""}
if [[ "${KS_BUILD_GOOS}" != "" ]]; then
BUILD_GOOS=${KS_BUILD_GOOS}
fi
# forgoing -i (incremental build) because it will be deprecated by tool chain.
time GOOS=${BUILD_GOOS} CGO_ENABLED=0 GOARCH=${BUILD_GOARCH} ${GOBINARY} build \
-ldflags="${LDFLAGS}" \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册