1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-03-23 20:32:32 +02:00
go-micro/plugins/cleanup.sh

13 lines
293 B
Bash
Raw Normal View History

2020-12-26 15:32:45 +00:00
#!/bin/bash -e
tag=$1
for m in $(find ./ -name 'go.mod'); do
d=$(dirname $m);
pushd $d;
2021-01-20 21:01:10 +00:00
grep -q github.com/asim/go-micro/v3 go.mod && go get github.com/asim/go-micro/v3@$tag
2020-12-26 15:32:45 +00:00
grep -q github.com/micro/micro/v2 go.mod && go get github.com/micro/micro/v2@$tag
go mod tidy
popd;
done