Skip to content

Commit 66cd3e5

Browse files
authored
Pin deepcopy version. (#200)
chore: Fix go: k8s.io/code-generator/cmd/deepcopy-gen@latest (in k8s.io/[email protected]): go.mod:5: invalid go version '1.22.0': must match format 1.23 Signed-off-by: Spolti <[email protected]>
1 parent b1933e7 commit 66cd3e5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hack/deepcopy-gen.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ shift 1
3232
# make sure your GOPATH env is properly set.
3333
# it will go under $GOPATH/bin
3434
cd "$(dirname "${0}")"
35-
GO111MODULE=on go install k8s.io/code-generator/cmd/deepcopy-gen@latest
35+
DEEPCOPY_VERSION="v0.29.4"
36+
GO111MODULE=on go install k8s.io/code-generator/cmd/deepcopy-gen@${DEEPCOPY_VERSION}
3637
)
3738

3839
function codegen::join() { local IFS="$1"; shift; echo "$*"; }

0 commit comments

Comments
 (0)