Merge pull request #103999 from 06kellyjac/tekton-cli_0.14.0

This commit is contained in:
Sandro 2020-11-23 16:13:31 +01:00 committed by GitHub
commit 0c07eab0e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,13 +2,13 @@
buildGoModule rec {
pname = "tektoncd-cli";
version = "0.13.1";
version = "0.14.0";
src = fetchFromGitHub {
owner = "tektoncd";
repo = "cli";
rev = "v${version}";
sha256 = "0cjih8h64wwdp022pn70xqxafdk34z2y2ipxb86dlf2zdrf9xv53";
sha256 = "1mkbwh4cmhx9in928vlvs7xjjklpsxbv5niv8jmsbnifflg1an8p";
};
vendorSha256 = null;
@ -27,10 +27,10 @@ buildGoModule rec {
mkdir -p "$out/share/man/man1"
cp docs/man/man1/* "$out/share/man/man1"
# TODO: Move to enhanced installShellCompletion when merged: PR #83630
$out/bin/tkn completion bash > tkn.bash
$out/bin/tkn completion zsh > _tkn
installShellCompletion tkn.bash --zsh _tkn
installShellCompletion --cmd tkn \
--bash <($out/bin/tkn completion bash) \
--fish <($out/bin/tkn completion fish) \
--zsh <($out/bin/tkn completion zsh)
'';
meta = with lib; {