Skip to content

Commit

Permalink
fix bingo-upgrade target
Browse files Browse the repository at this point in the history
Signed-off-by: Per Goncalves da Silva <[email protected]>
  • Loading branch information
Per Goncalves da Silva committed Jan 14, 2025
1 parent 19d74c8 commit fe80eb9
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 @@ -92,8 +92,8 @@ vet: ## 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 fe80eb9

Please sign in to comment.