1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-12-12 08:23:58 +02:00
go-micro/plugins/cleanup.sh

13 lines
269 B
Bash
Raw Normal View History

2020-12-26 17:32:45 +02:00
#!/bin/bash -e
tag=$1
for m in $(find ./ -name 'go.mod'); do
d=$(dirname $m);
pushd $d;
2021-10-13 14:31:23 +02:00
grep -q go-micro.dev/v4 go.mod && go get go-micro.dev/v4@$tag
2020-12-26 17:32:45 +02:00
grep -q github.com/micro/micro/v2 go.mod && go get github.com/micro/micro/v2@$tag
go mod tidy
popd;
done