diff options
| author | Kevin Wang <wangzefeng@huawei.com> | 2019-10-18 11:52:27 +0800 |
|---|---|---|
| committer | Kevin Wang <wangzefeng@huawei.com> | 2019-10-18 14:54:56 +0800 |
| commit | fa7b85aaaf717cf2d516e60817565649ff1d32f8 (patch) | |
| tree | c3093b3f1528a08dcf3c9ab5efc8fdbb6f0f817a | |
| parent | Merge pull request #1208 from kevin-wangzefeng/update-gomod (diff) | |
| download | kubeedge-fa7b85aaaf717cf2d516e60817565649ff1d32f8.tar.gz | |
remove vendor/ in staging repo after update-vendor.sh execution
| -rw-r--r-- | .gitignore | 1 | ||||
| -rwxr-xr-x | hack/update-vendor.sh | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore index c95ea4a51..e96fcc6a3 100644 --- a/.gitignore +++ b/.gitignore @@ -13,5 +13,4 @@ cloud/admission edge/edgecore edgesite/edgesite keadm/keadm -staging/**/vendor _output diff --git a/hack/update-vendor.sh b/hack/update-vendor.sh index 60dea49ad..97284c8ad 100755 --- a/hack/update-vendor.sh +++ b/hack/update-vendor.sh @@ -43,6 +43,10 @@ for repo in $(kubeedge::util::list_staging_repos); do # We would have to always execute go mod vendor after go mod tidy to ensure correctness. echo "running 'go mod vendor' for ${repo}" go mod vendor + + # vendor/ is not supposed to exist in staging repos, remove it. + rm -rf vendor/ + popd done |
