mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-02-03 20:40:26 -05:00
Remove _tmp from pin-dependency
This commit is contained in:
parent
813787489b
commit
8a3a299c65
1 changed files with 0 additions and 9 deletions
|
|
@ -69,15 +69,6 @@ if [[ -z "${dep}" || -z "${replacement}" || -z "${sha}" ]]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
_tmp="${KUBE_ROOT}/_tmp"
|
||||
cleanup() {
|
||||
rm -rf "${_tmp}"
|
||||
}
|
||||
trap "cleanup" EXIT SIGINT
|
||||
cleanup
|
||||
mkdir -p "${_tmp}"
|
||||
|
||||
|
||||
# Find the resolved version before trying to use it.
|
||||
echo "Running: go mod download ${replacement}@${sha}"
|
||||
if meta=$(go mod download -json "${replacement}@${sha}"); then
|
||||
|
|
|
|||
Loading…
Reference in a new issue