From 168b47f1b0b3f94fa9c61bc16ec6c677fa0a2179 Mon Sep 17 00:00:00 2001 From: Ashley Davis Date: Thu, 6 Jan 2022 15:43:11 +0000 Subject: [PATCH] install ginkgo version from go.mod, rather than explicit ver Signed-off-by: Ashley Davis --- make/tools.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/make/tools.mk b/make/tools.mk index 2239f4412..9e4afcf65 100644 --- a/make/tools.mk +++ b/make/tools.mk @@ -14,7 +14,6 @@ HELM_VERSION=3.6.3 KUBECTL_VERSION=1.22.1 KIND_VERSION=0.11.1 COSIGN_VERSION=1.3.1 -GINKGO_VERSION=v1.16.5 CMREL_VERSION=a1e2bad95be9688794fd0571c4c40e88cccf9173 K8S_RELEASE_NOTES_VERSION=0.7.0 GOIMPORTS_VERSION=0.1.8 @@ -101,8 +100,9 @@ bin/scratch/tools/cosign_$(COSIGN_VERSION)_$(HOST_OS)_$(HOST_ARCH): | bin/scratc # ginkgo # ########## -bin/tools/ginkgo: | bin/tools - GOBIN=$(shell pwd)/$(dir $@) go install github.com/onsi/ginkgo/ginkgo@$(GINKGO_VERSION) +# We don't specify a version number here because we want to use the version in cert-manager's go.mod +bin/tools/ginkgo: go.mod go.sum | bin/tools + GOBIN=$(shell pwd)/$(dir $@) go install github.com/onsi/ginkgo/ginkgo ######### # cmrel #