kops: update to 1.24.2
This commit is contained in:
parent
b392d9b233
commit
437da1f023
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'kops'
|
||||
pkgname=kops
|
||||
version=1.23.2
|
||||
version=1.24.2
|
||||
revision=1
|
||||
archs="x86_64*"
|
||||
build_wrksrc=src/k8s.io/kops
|
||||
|
@ -25,14 +25,14 @@ do_fetch() {
|
|||
do_build() {
|
||||
export GOPATH="$wrksrc"
|
||||
|
||||
make
|
||||
make kops
|
||||
|
||||
../../../bin/kops completion bash > completion.bash
|
||||
../../../bin/kops completion zsh | sed -n '/#compdef/,$p' > completion.zsh
|
||||
${wrksrc}/src/k8s.io/kops/.build/dist/linux/amd64/kops completion bash > completion.bash
|
||||
${wrksrc}/src/k8s.io/kops/.build/dist/linux/amd64/kops completion zsh | sed -n '/#compdef/,$p' > completion.zsh
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vbin ../../../bin/kops
|
||||
vbin ${wrksrc}/src/k8s.io/kops/.build/dist/linux/amd64/kops
|
||||
vinstall completion.bash 644 usr/share/bash-completion/completions kops
|
||||
vinstall completion.zsh 644 usr/share/zsh/site-functions _kops
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue