From b29a3b3a66fa0a5206bec019b9dc13c0e0af0677 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Tue, 17 Dec 2024 23:07:11 +0100 Subject: [PATCH] Update commons-test.mk --- commons-test.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commons-test.mk b/commons-test.mk index 3ff2564b28..a23db74c32 100644 --- a/commons-test.mk +++ b/commons-test.mk @@ -14,7 +14,7 @@ $(TOOLS_BIN_DIR): mkdir -p $@ $(TOOLS_BIN_NAMES): $(TOOLS_BIN_DIR) $(TOOLS_MOD_DIR)/go.mod - cd $(TOOLS_MOD_DIR) && GOOS="" GOARCH="" $(GOCMD) build -o $@ -trimpath $(filter %/$(notdir $(patsubst %/v2,%,$@)),$(TOOLS_PKG_NAMES)) + cd $(TOOLS_MOD_DIR) && GOOS="" GOARCH="" $(GOCMD) build -o $@ -trimpath $(filter %/$(notdir $@)%,$(TOOLS_PKG_NAMES)) GOLANGCI_LINT := $(TOOLS_BIN_DIR)/golangci-lint GOTESTSUM := $(TOOLS_BIN_DIR)/gotestsum