Skip to content

Commit 7487d52

Browse files
perdasilvaPer Goncalves da Silva
and
Per Goncalves da Silva
authored
fix bingo-upgrade target (#417)
Signed-off-by: Per Goncalves da Silva <[email protected]> Co-authored-by: Per Goncalves da Silva <[email protected]>
1 parent c923823 commit 7487d52

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ fix: $(GOLANGCI_LINT) ## Fixup files in the repo.
6565
$(GOLANGCI_LINT) run --fix
6666

6767
.PHONY: bingo-upgrade
68-
bingo-upgrade: $(BINGO) ## Upgrade tools
69-
@for pkg in $$($(BINGO) list | awk '{ print $$1 }' | tail -n +3); do \
70-
echo "Upgrading $$pkg to latest..."; \
68+
bingo-upgrade: $(BINGO) #EXHELP Upgrade tools
69+
@for pkg in $$($(BINGO) list | awk '{ print $$3 }' | tail -n +3 | sed 's/@.*//'); do \
70+
echo -e "Upgrading \033[35m$$pkg\033[0m to latest..."; \
7171
$(BINGO) get "$$pkg@latest"; \
7272
done
7373

0 commit comments

Comments
 (0)