Skip to content

Commit 1f0a7aa

Browse files
author
Per Goncalves da Silva
committed
fix bingo-upgrade target
Signed-off-by: Per Goncalves da Silva <[email protected]>
1 parent b83bd4e commit 1f0a7aa

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
@@ -125,8 +125,8 @@ vet: #EXHELP Run go vet against code.
125125

126126
.PHONY: bingo-upgrade
127127
bingo-upgrade: $(BINGO) #EXHELP Upgrade tools
128-
@for pkg in $$($(BINGO) list | awk '{ print $$1 }' | tail -n +3); do \
129-
echo "Upgrading $$pkg to latest..."; \
128+
@for pkg in $$($(BINGO) list | awk '{ print $$3 }' | tail -n +3 | sed 's/@.*//'); do \
129+
echo -e "Upgrading \033[35m$$pkg\033[0m to latest..."; \
130130
$(BINGO) get "$$pkg@latest"; \
131131
done
132132

0 commit comments

Comments
 (0)