From 758006dea03b52c4d5671383799f4402fd4a1a82 Mon Sep 17 00:00:00 2001 From: Evgeniy Kulikov Date: Sat, 29 Feb 2020 13:25:22 +0300 Subject: [PATCH] update makefile dev command --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 92cb5fc..db412f2 100644 --- a/Makefile +++ b/Makefile @@ -35,6 +35,7 @@ image: deps dev: VERSIONS?=$(GRPC_VERSION) dev: @echo "=> Build multiple images for $(VERSIONS)"; \ + git checkout go.{sum,mod}; \ for v in $(VERSIONS); do \ curdir=$$(pwd); \ echo "=> Checkout gRPC to $${v}"; \ @@ -44,7 +45,7 @@ dev: git checkout go.{sum,mod}; \ go get google.golang.org/grpc@$${v}; \ cd $${curdir}; \ - cp go_dev.mod go.sum; \ + cp go_dev.mod go.mod; \ go get google.golang.org/grpc@$${v}; \ make image VERSION=$(VERSION)-$${v}; \ git checkout go.{sum,mod}; \