Skip to content

Commit 1fe23e8

Browse files
committed
Update conversion-gen to latest tags
Fixes conversion-gen to use a version tag instead of using latest Removes --output-base since it's no longer a valid flag Signed-off-by: Edwin Xie <[email protected]>
1 parent fac1520 commit 1fe23e8

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

Makefile

+1-6
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,6 @@ endif
3939

4040
HACK_BIN=$(shell pwd)/hack/bin
4141

42-
# Set --output-base for conversion-gen if we are not within GOPATH
43-
ifneq ($(abspath $(ROOT_DIR)),$(shell go env GOPATH)/src/sigs.k8s.io/cluster-api-ipam-provider-in-cluster)
44-
OUTPUT_BASE := --output-base=$(ROOT_DIR)
45-
endif
46-
4742
# Setting SHELL to bash allows bash commands to be executed by recipes.
4843
# This is a requirement for 'setup-envtest.sh' in the test target.
4944
# Options are set to exit when a recipe line exits non-zero or a piped command fails.
@@ -248,4 +243,4 @@ verify-boilerplate: ## Verifies all sources have appropriate boilerplate
248243
CONVERSION_GEN = $(HACK_BIN)/conversion-gen
249244
.PHONY: conversion-gen
250245
conversion-gen: ## Download conversion-gen locally if necessary.
251-
env GOBIN=$(HACK_BIN) go install k8s.io/code-generator/cmd/conversion-gen@latest
246+
env GOBIN=$(HACK_BIN) go install k8s.io/code-generator/cmd/conversion-gen@v0.30.1

0 commit comments

Comments
 (0)