diff options
| author | Kevin Wang <wangzefeng@huawei.com> | 2019-10-16 13:27:55 +0800 |
|---|---|---|
| committer | Kevin Wang <wangzefeng@huawei.com> | 2019-10-16 21:20:28 +0800 |
| commit | b948f42e277a0c07c0dd44d38b14752f3bb4bb41 (patch) | |
| tree | 64cbd1af027c1ea54e454d071e9798999e1b23ae /hack/update-vendor.sh | |
| parent | Merge pull request #1198 from kevin-wangzefeng/fix-gomod-failure (diff) | |
| download | kubeedge-b948f42e277a0c07c0dd44d38b14752f3bb4bb41.tar.gz | |
make update vendors respect go.mod and go.sum in staging repos
Diffstat (limited to 'hack/update-vendor.sh')
| -rwxr-xr-x | hack/update-vendor.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/hack/update-vendor.sh b/hack/update-vendor.sh index ed0abd0bc..405b30926 100755 --- a/hack/update-vendor.sh +++ b/hack/update-vendor.sh @@ -34,6 +34,14 @@ function kubeedge::util::list_staging_repos() { } +for repo in $(kubeedge::util::list_staging_repos); do + pushd "${KUBEEDGE_ROOT}/staging/src/github.com/kubeedge/${repo}" + echo "running 'go mod tidy' for ${repo}" + go mod tidy + popd +done + + echo "running 'go mod tidy'" go mod tidy |
