From 706897b7024b1b79829670b8f1e961df2bc3aa87 Mon Sep 17 00:00:00 2001 From: Per Goncalves da Silva Date: Tue, 14 Jan 2025 14:29:45 +0100 Subject: [PATCH] fix bingo-upgrade target (#215) Signed-off-by: Per Goncalves da Silva Co-authored-by: Per Goncalves da Silva --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 617fcb9..3c7d208 100644 --- a/Makefile +++ b/Makefile @@ -34,9 +34,9 @@ fmt: .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