Skip to content

Commit

Permalink
fix bingo-upgrade target (#1609)
Browse files Browse the repository at this point in the history
Signed-off-by: Per Goncalves da Silva <pegoncal@redhat.com>
Co-authored-by: Per Goncalves da Silva <pegoncal@redhat.com>
  • Loading branch information
perdasilva and Per Goncalves da Silva authored Jan 14, 2025
1 parent a67d023 commit 7a6fa07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ vet: #EXHELP Run go vet against code.

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

Expand Down

0 comments on commit 7a6fa07

Please sign in to comment.