Skip to content

Commit

Permalink
change1 mv to cp (#616)
Browse files Browse the repository at this point in the history
Signed-off-by: wang-mask <2018091609006@std.uestc.edu.cn>
  • Loading branch information
wang-mask committed Jan 27, 2024
1 parent d7a392e commit d043c9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/python-sdk/gen-sdk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ if [ -z "${GOPATH:-}" ]; then
fi

# Backup existing v2 openapi_generated.go
mv pkg/apis/kubeflow/v2beta1/openapi_generated.go pkg/apis/kubeflow/v2beta1/openapi_generated.go.backup
cp pkg/apis/kubeflow/v2beta1/openapi_generated.go pkg/apis/kubeflow/v2beta1/openapi_generated.go.backup

CODEGEN_VERSION=$(grep 'k8s.io/code-generator' go.sum | awk '{print $2}' | sed 's/\/go.mod//g' | head -1)
GOBIN="${PWD}/bin" go install "k8s.io/code-generator/cmd/openapi-gen@${CODEGEN_VERSION}"
Expand Down

0 comments on commit d043c9a

Please sign in to comment.