Filter out pluginator in install curl script.

This commit is contained in:
Jeff Regan
2019-10-24 12:40:06 -07:00
committed by GitHub
parent 92390eabe4
commit 44cdf98a47

View File

@@ -16,10 +16,12 @@ opsys=darwin
opsys=windows
opsys=linux
curl -s https://api.github.com/repos/kubernetes-sigs/kustomize/releases/latest |\
curl -s https://api.github.com/repos/kubernetes-sigs/kustomize/releases |\
grep browser_download |\
grep $opsys |\
cut -d '"' -f 4 |\
grep /kustomize/v |\
sort | tail -n 1 |\
xargs curl -O -L
tar xzf ./kustomize_v*_${opsys}_amd64.tar.gz
./kustomize version