From 02753ffaff3d9020232bd74d853f1be4c5f13fe5 Mon Sep 17 00:00:00 2001 From: Per Goncalves da Silva Date: Tue, 14 Jan 2025 11:51:43 +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 cc76419..b65fb79 100644 --- a/Makefile +++ b/Makefile @@ -30,8 +30,8 @@ tidy: ## Tidy go dependencies .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