Skip to content

Commit 0a73e52

Browse files
perdasilvaPer Goncalves da Silva
authored andcommitted
fix bingo-upgrade target (#1547)
Signed-off-by: Per Goncalves da Silva <[email protected]> Co-authored-by: Per Goncalves da Silva <[email protected]> Upstream-repository: operator-registry Upstream-commit: 609e71685eb6c2599dddbbda46beb9ab7e30f96c
1 parent 5e964ae commit 0a73e52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

staging/operator-registry/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ lint:
107107

108108
.PHONY: bingo-upgrade
109109
bingo-upgrade: $(BINGO) #EXHELP Upgrade tools
110-
@for pkg in $$($(BINGO) list | awk '{ print $$1 }' | tail -n +3); do \
111-
echo "Upgrading $$pkg to latest..."; \
110+
@for pkg in $$($(BINGO) list | awk '{ print $$3 }' | tail -n +3 | sed 's/@.*//'); do \
111+
echo -e "Upgrading \033[35m$$pkg\033[0m to latest..."; \
112112
$(BINGO) get "$$pkg@latest"; \
113113
done
114114

0 commit comments

Comments
 (0)