Skip to content

Commit

Permalink
update upgrade-direct-deps step
Browse files Browse the repository at this point in the history
  • Loading branch information
bilalcaliskan committed Jan 9, 2022
1 parent 127a7d1 commit 345b9bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ cross-compile:
GOOS=windows GOARCH=amd64 go build -o bin/main-windows-amd64 cmd/varnish-cache-invalidator/main.go

upgrade-direct-deps:
for item in `grep -v 'indirect' go.mod | grep '/' | cut -d ' ' -f 1`; do \
for item in `egrep -v "indirect|k8s.io" go.mod | grep '/' | cut -d ' ' -f 1`; do \
echo "trying to upgrade direct dependency $$item" ; \
go get -u $$item ; \
done
Expand Down

0 comments on commit 345b9bb

Please sign in to comment.