Skip to content

Commit 7a6fa07

Browse files
perdasilvaPer Goncalves da Silva
andauthored
fix bingo-upgrade target (#1609)
Signed-off-by: Per Goncalves da Silva <[email protected]> Co-authored-by: Per Goncalves da Silva <[email protected]>
1 parent a67d023 commit 7a6fa07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ vet: #EXHELP Run go vet against code.
134134

135135
.PHONY: bingo-upgrade
136136
bingo-upgrade: $(BINGO) #EXHELP Upgrade tools
137-
@for pkg in $$($(BINGO) list | awk '{ print $$1 }' | tail -n +3); do \
138-
echo "Upgrading $$pkg to latest..."; \
137+
@for pkg in $$($(BINGO) list | awk '{ print $$3 }' | tail -n +3 | sed 's/@.*//'); do \
138+
echo -e "Upgrading \033[35m$$pkg\033[0m to latest..."; \
139139
$(BINGO) get "$$pkg@latest"; \
140140
done
141141

0 commit comments

Comments
 (0)