From d7b537d786e8ecca2eac709383035bec252dc05a Mon Sep 17 00:00:00 2001 From: Per Goncalves da Silva Date: Tue, 14 Jan 2025 11:54:39 +0100 Subject: [PATCH] fix bingo-upgrade target Signed-off-by: Per Goncalves da Silva --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 773e6b55..c7590fa5 100644 --- a/Makefile +++ b/Makefile @@ -65,9 +65,9 @@ fix: $(GOLANGCI_LINT) ## Fixup files in the repo. $(GOLANGCI_LINT) run --fix .PHONY: bingo-upgrade -bingo-upgrade: $(BINGO) ## Upgrade tools - @for pkg in $$($(BINGO) list | awk '{ print $$1 }' | tail -n +3); do \ - echo "Upgrading $$pkg to latest..."; \ +bingo-upgrade: $(BINGO) #EXHELP Upgrade tools + @for pkg in $$($(BINGO) list | awk '{ print $$3 }' | tail -n +3 | sed 's/@.*//'); do \ + echo -e "Upgrading \033[35m$$pkg\033[0m to latest..."; \ $(BINGO) get "$$pkg@latest"; \ done