summaryrefslogtreecommitdiff
path: root/hack/update-vendor.sh
diff options
context:
space:
mode:
authorKevin Wang <wangzefeng@huawei.com>2019-10-16 13:35:25 +0800
committerKevin Wang <wangzefeng@huawei.com>2019-10-16 21:22:20 +0800
commitb21a9dc2e4cd62116970a49e2f2d5b6b4f44bbd4 (patch)
treecec8bf1feb2468b3f9d523d6735af7f5785dfbd6 /hack/update-vendor.sh
parentmake update vendors respect go.mod and go.sum in staging repos (diff)
downloadkubeedge-b21a9dc2e4cd62116970a49e2f2d5b6b4f44bbd4.tar.gz
update go.mod and go.sum
Diffstat (limited to 'hack/update-vendor.sh')
-rwxr-xr-xhack/update-vendor.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/hack/update-vendor.sh b/hack/update-vendor.sh
index 405b30926..11dc7657b 100755
--- a/hack/update-vendor.sh
+++ b/hack/update-vendor.sh
@@ -33,7 +33,7 @@ function kubeedge::util::list_staging_repos() {
)
}
-
+# update go.mod and go.sum for 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}"
@@ -42,10 +42,10 @@ for repo in $(kubeedge::util::list_staging_repos); do
done
-echo "running 'go mod tidy'"
+echo "running 'go mod tidy' for repo root"
go mod tidy
-echo "running 'go mod vendor'"
+echo "running 'go mod vendor' for repo root"
go mod vendor
# create a symlink in vendor directory pointing to the staging components.