From c640ac7ed9d1a4b57870d4a98dc38f8760850ef7 Mon Sep 17 00:00:00 2001 From: Kazuki Suda <230185+superbrothers@users.noreply.github.com> Date: Sun, 8 Nov 2020 20:08:02 +0900 Subject: [PATCH] Fix .krew.yaml (#44) --- .krew.yaml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.krew.yaml b/.krew.yaml index 059255d..13e6cc2 100644 --- a/.krew.yaml +++ b/.krew.yaml @@ -17,7 +17,9 @@ spec: - {{addURIAndSha "https://github.com/superbrothers/ksort/releases/download/{{ .TagName }}/ksort-darwin-amd64.zip" .TagName }} bin: ksort files: - - from: "*" + - from: ksort + to: . + - from: LICENSE.txt to: . selector: matchLabels: @@ -26,16 +28,20 @@ spec: - {{addURIAndSha "https://github.com/superbrothers/ksort/releases/download/{{ .TagName }}/ksort-linux-amd64.zip" .TagName }} bin: ksort files: - - from: "*" + - from: ksort + to: . + - from: LICENSE.txt to: . selector: matchLabels: os: linux arch: amd64 - {{addURIAndSha "https://github.com/superbrothers/ksort/releases/download/{{ .TagName }}/ksort-windows-amd64.zip" .TagName }} - bin: ksort + bin: ksort.exe files: - - from: "*" + - from: ksort.exe + to: . + - from: LICENSE.txt to: . selector: matchLabels: