Skip to content

Commit 758763d

Browse files
committed
Enable vendoring on Go 1.1x
This handles Go 1.13-1.19, in addition to the existing 1.11 and 1.12. Signed-off-by: Stephen Kitt <[email protected]>
1 parent 95572bc commit 758763d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
SHELL := /bin/bash
66
PKG := github.com/operator-framework/operator-lifecycle-manager
7-
MOD_FLAGS := $(shell (go version | grep -q -E "1\.(11|12)") && echo -mod=vendor)
7+
MOD_FLAGS := $(shell (go version | grep -q -E "1\.1[1-9]") && echo -mod=vendor)
88
CMDS := $(shell go list $(MOD_FLAGS) ./cmd/...)
99
TCMDS := $(shell go list $(MOD_FLAGS) ./test/e2e/...)
1010
CODEGEN_INTERNAL := ./vendor/k8s.io/code-generator/generate_internal_groups.sh

0 commit comments

Comments
 (0)