From 8a0884d8930fc8264bea477be69229108512da3c Mon Sep 17 00:00:00 2001 From: "Xinwei Xiong (cubxxw)" <3293172751nss@gmail.com> Date: Sat, 16 Mar 2024 16:21:50 +0800 Subject: [PATCH] fix: fix cicd build project --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 55c4db3..12e5e86 100644 --- a/Makefile +++ b/Makefile @@ -115,7 +115,7 @@ SPACE += # ============================================================================== # Build definition -GO_SUPPORTED_VERSIONS ?= 1.18|1.19|1.20 +GO_SUPPORTED_VERSIONS ?= 1.19|1.20|1.21|1.22|1.23 GO_LDFLAGS += -X $(VERSION_PACKAGE).GitVersion=$(VERSION) \ -X $(VERSION_PACKAGE).GitCommit=$(GIT_COMMIT) \ -X $(VERSION_PACKAGE).GitTreeState=$(GIT_TREE_STATE) \ @@ -277,10 +277,6 @@ copyright-add: tools.verify.addlicense @$(TOOLS_DIR)/addlicense -y $(shell date +"%Y") -v -c "KubeCub open source community." -f $(LICENSE_TEMPLATE) $(CODE_DIRS) @echo "===========> End the copyright is added..." -## tools: Install a must tools -.PHONY: tools -tools: $(addprefix tools.verify., $(BUILD_TOOLS)) - ## clean: Clean all builds. .PHONY: clean clean: @@ -299,6 +295,10 @@ help: Makefile BUILD_TOOLS ?= go-gitlint golangci-lint goimports addlicense deepcopy-gen conversion-gen ginkgo go-junit-report +## tools: Install a must tools +.PHONY: tools +tools: $(addprefix tools.verify., $(BUILD_TOOLS)) + ## tools.verify.%: Check if a tool is installed and install it .PHONY: tools.verify.% tools.verify.%: