hack/vendor: Make dropreplace vendor latest version

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
Paweł Gronowski
2025-10-31 17:24:21 +01:00
parent 76ba3b6a4b
commit 1e56b87f7f

View File

@@ -44,6 +44,15 @@ dropreplace() (
set -x
go mod edit -dropreplace=github.com/moby/moby/api -dropreplace=github.com/moby/moby/client
go mod edit -modfile client/go.mod -dropreplace=github.com/moby/moby/api
go mod edit -modfile client/go.mod -require='github.com/moby/moby/api@master'
(cd client; go mod tidy)
go mod edit \
-require='github.com/moby/moby/api@master' \
-require='github.com/moby/moby/client@master'
go mod tidy
go mod vendor
)
help() {