Merge pull request #107995 from dims/use-zip-instead-of-git-archive

Use zip instead of git-archive
This commit is contained in:
Kubernetes Prow Robot 2022-02-07 21:42:53 -08:00 committed by GitHub
commit 79dafeb80c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,5 +45,6 @@ export PATH=${GOPATH}/bin:${PWD}/third_party/etcd:/usr/local/go/bin:${PATH}
make update
if [[ -d "${ARTIFACTS:-}" ]]; then
git archive -o "${ARTIFACTS}/updated-files.zip" HEAD
# ignore the .git, _output directories and zip up everything else
zip -y -r "${ARTIFACTS}/updated-files.zip" . -x '*.git*' -x '*_output*'
fi