From 1f0a7aab9540c7256d2b5983043247d46eba1f28 Mon Sep 17 00:00:00 2001 From: Per Goncalves da Silva Date: Tue, 14 Jan 2025 11:40:17 +0100 Subject: [PATCH] fix bingo-upgrade target Signed-off-by: Per Goncalves da Silva --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b18aca141..c2a01c53a 100644 --- a/Makefile +++ b/Makefile @@ -125,8 +125,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