Skip to content

Commit

Permalink
add bingo-upgrade target (#3489)
Browse files Browse the repository at this point in the history
Signed-off-by: Per Goncalves da Silva <[email protected]>
Co-authored-by: Per Goncalves da Silva <[email protected]>
  • Loading branch information
perdasilva and Per Goncalves da Silva authored Jan 14, 2025
1 parent 5cff440 commit b56b038
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,13 @@ vendor: #HELP Update vendored dependencies
go mod tidy
go mod vendor

.PHONY: bingo-upgrade
bingo-upgrade: $(BINGO) #EXHELP Upgrade tools
@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

#SECTION Testing

# Note: We want to use TESTCMD = because we need it to be re-evaluated every time it is used
Expand Down

0 comments on commit b56b038

Please sign in to comment.