mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-07-17 17:52:12 +00:00
Filter out pluginator in install curl script.
This commit is contained in:
@@ -16,10 +16,12 @@ opsys=darwin
|
|||||||
opsys=windows
|
opsys=windows
|
||||||
opsys=linux
|
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 browser_download |\
|
||||||
grep $opsys |\
|
grep $opsys |\
|
||||||
cut -d '"' -f 4 |\
|
cut -d '"' -f 4 |\
|
||||||
|
grep /kustomize/v |\
|
||||||
|
sort | tail -n 1 |\
|
||||||
xargs curl -O -L
|
xargs curl -O -L
|
||||||
tar xzf ./kustomize_v*_${opsys}_amd64.tar.gz
|
tar xzf ./kustomize_v*_${opsys}_amd64.tar.gz
|
||||||
./kustomize version
|
./kustomize version
|
||||||
|
|||||||
Reference in New Issue
Block a user