diff --git a/Makefile b/Makefile index 032309c17c..40dbefe34f 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ SHELL := /bin/bash PKG := github.com/operator-framework/operator-lifecycle-manager -MOD_FLAGS := $(shell (go version | grep -q -E "1\.(11|12)") && echo -mod=vendor) +MOD_FLAGS := $(shell (go version | grep -q -E "1\.1[1-9]") && echo -mod=vendor) CMDS := $(shell go list $(MOD_FLAGS) ./cmd/...) TCMDS := $(shell go list $(MOD_FLAGS) ./test/e2e/...) CODEGEN_INTERNAL := ./vendor/k8s.io/code-generator/generate_internal_groups.sh