Update dependecies:

github.com/grpc-ecosystem/grpc-gateway v1.14.6 -> grpc-gateway v1.16.0
  golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e->v0.0.0-20210220033141-f8bda1e9f3ba
This commit is contained in:
Piotr Tabor
2021-03-27 20:48:33 +01:00
parent c49807f59e
commit f290ab2e60
14 changed files with 49 additions and 39 deletions

View File

@ -20,7 +20,7 @@ function maybe_update_module {
deps=$(go list -f '{{if not .Indirect}}{{if .Version}}{{.Path}},{{.Version}}{{end}}{{end}}' -m all)
if [[ "$deps" == *"${mod}"* ]]; then
if [ -z "${version}" ]; then
if [ -z "${ver}" ]; then
run go get "${mod}"
else
run go get "${mod}@${ver}"
@ -29,4 +29,4 @@ function maybe_update_module {
}
go mod tidy
run_for_modules maybe_update_module
run_for_modules maybe_update_module