From 7a6fa072efd16428c4ec26958bcb7b8fabb758a4 Mon Sep 17 00:00:00 2001 From: Per Goncalves da Silva Date: Tue, 14 Jan 2025 12:02:50 +0100 Subject: [PATCH] fix bingo-upgrade target (#1609) Signed-off-by: Per Goncalves da Silva Co-authored-by: Per Goncalves da Silva --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4d2209a72..63135724d 100644 --- a/Makefile +++ b/Makefile @@ -134,8 +134,8 @@ vet: #EXHELP Run go vet against code. .PHONY: bingo-upgrade bingo-upgrade: $(BINGO) #EXHELP Upgrade tools - @for pkg in $$($(BINGO) list | awk '{ print $$1 }' | tail -n +3); do \ - echo "Upgrading $$pkg to latest..."; \ + @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