From 45f30d8a10e58b4d498d7be50881b586e6803812 Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Mon, 7 Feb 2022 14:35:42 -0500 Subject: [PATCH] use zip instead of git-archive Signed-off-by: Davanum Srinivas --- hack/jenkins/update-dockerized.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hack/jenkins/update-dockerized.sh b/hack/jenkins/update-dockerized.sh index 435bd69cc24..2ddd979c5d8 100755 --- a/hack/jenkins/update-dockerized.sh +++ b/hack/jenkins/update-dockerized.sh @@ -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