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