Skip to content

Commit 706897b

Browse files
perdasilvaPer Goncalves da Silva
andauthored
fix bingo-upgrade target (#215)
Signed-off-by: Per Goncalves da Silva <pegoncal@redhat.com> Co-authored-by: Per Goncalves da Silva <pegoncal@redhat.com>
1 parent 1e60f5a commit 706897b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ fmt:
3434

3535

3636
.PHONY: bingo-upgrade
37-
bingo-upgrade: $(BINGO) ## Upgrade tools
38-
@for pkg in $$($(BINGO) list | awk '{ print $$1 }' | tail -n +3); do \
39-
echo "Upgrading $$pkg to latest..."; \
37+
bingo-upgrade: $(BINGO) #EXHELP Upgrade tools
38+
@for pkg in $$($(BINGO) list | awk '{ print $$3 }' | tail -n +3 | sed 's/@.*//'); do \
39+
echo -e "Upgrading \033[35m$$pkg\033[0m to latest..."; \
4040
$(BINGO) get "$$pkg@latest"; \
4141
done
4242

0 commit comments

Comments
 (0)