Skip to content

Commit c68a979

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

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
@@ -30,8 +30,8 @@ tidy: ## Tidy go dependencies
3030

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

0 commit comments

Comments
 (0)