mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-07 19:23:40 +00:00
Remove _tmp from pin-dependency
This commit is contained in:
parent
813787489b
commit
8a3a299c65
@ -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 New Issue
Block a user