mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 23:47:50 +00:00
Clean up artifacts variables in hack scripts
This commit is contained in:
@@ -94,9 +94,9 @@ pushd "${KUBE_ROOT}" > /dev/null 2>&1
|
||||
echo "(The above output can be saved as godepdiff.patch if you're not running this locally)" >&2
|
||||
echo "(The patch file should also be exported as a build artifact if run through CI)" >&2
|
||||
KEEP_TMP=true
|
||||
if [[ -f godepdiff.patch && -d "${ARTIFACTS_DIR:-}" ]]; then
|
||||
if [[ -f godepdiff.patch && -d "${ARTIFACTS:-}" ]]; then
|
||||
echo "Copying patch to artifacts.."
|
||||
cp godepdiff.patch "${ARTIFACTS_DIR:-}/"
|
||||
cp godepdiff.patch "${ARTIFACTS:-}/"
|
||||
fi
|
||||
ret=1
|
||||
fi
|
||||
@@ -111,9 +111,9 @@ pushd "${KUBE_ROOT}" > /dev/null 2>&1
|
||||
echo "(The above output can be saved as godepdiff.patch if you're not running this locally)" >&2
|
||||
echo "(The patch file should also be exported as a build artifact if run through CI)" >&2
|
||||
KEEP_TMP=true
|
||||
if [[ -f vendordiff.patch && -d "${ARTIFACTS_DIR:-}" ]]; then
|
||||
if [[ -f vendordiff.patch && -d "${ARTIFACTS:-}" ]]; then
|
||||
echo "Copying patch to artifacts.."
|
||||
cp vendordiff.patch "${ARTIFACTS_DIR:-}/"
|
||||
cp vendordiff.patch "${ARTIFACTS:-}/"
|
||||
fi
|
||||
ret=1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user