From e97ebfc5cd1fe3ba092214f127ae104c03cd4454 Mon Sep 17 00:00:00 2001 From: andig Date: Mon, 26 Aug 2024 22:56:00 +0200 Subject: [PATCH] chore: add make upgrade for direct dependencies --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index df5711dff..30dabb3ee 100644 --- a/Makefile +++ b/Makefile @@ -140,3 +140,6 @@ patch-asn1:: cat $(GOROOT)/src/vendor/golang.org/x/crypto/cryptobyte/asn1.go | grep -C 1 "out = true" patch -N -t -d $(GOROOT)/src/vendor/golang.org/x/crypto/cryptobyte -i $(CURRDIR)/packaging/patch/asn1.diff cat $(GOROOT)/src/vendor/golang.org/x/crypto/cryptobyte/asn1.go | grep -C 1 "out = true" + +upgrade:: + $(shell go list -u -f '{{if (and (not (or .Main .Indirect)) .Update)}}{{.Path}}{{end}}' -m all | xargs go get)