From 9240365affd6ecf40017d22a17782542679e18dd Mon Sep 17 00:00:00 2001 From: hantmac Date: Wed, 27 Apr 2022 17:46:31 +0800 Subject: [PATCH] fix auto release krew index Signed-off-by: hantmac --- .github/workflows/release.yaml | 2 +- .krew.yaml | 110 ++++++++++++++++----------------- 2 files changed, 56 insertions(+), 56 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 9b30e3d..2054af6 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -94,4 +94,4 @@ jobs: asset_name: sha256sums.txt asset_content_type: text/plain - name: Update kubectl plugin version in krew-index - uses: rajatjindal/krew-release-bot@v0.0.40 \ No newline at end of file + uses: rajatjindal/krew-release-bot@v0.0.43 \ No newline at end of file diff --git a/.krew.yaml b/.krew.yaml index 535b190..69f3311 100644 --- a/.krew.yaml +++ b/.krew.yaml @@ -5,61 +5,61 @@ metadata: spec: version: "{{ .TagName }}" platforms: - - selector: - matchLabels: - os: linux - arch: amd64 - {{addURIAndSha "https://github.com/openkruise/kruise-tools/releases/download/{{ .TagName }}/kubectl-kruise-linux-amd64.tar.gz" .TagName }} - files: - - from: "*/kubectl-kruise" - to: "." - - from: "*/LICENSE" - to: "." - bin: "kubectl-kruise" - - selector: - matchLabels: - os: linux - arch: arm64 - {{addURIAndSha "https://github.com/openkruise/kruise-tools/releases/download/{{ .TagName }}/kubectl-kruise-linux-arm64.tar.gz" .TagName }} - files: - - from: "*/kubectl-kruise" - to: "." - - from: "*/LICENSE" - to: "." - bin: "kubectl-kruise" - - selector: - matchLabels: - os: darwin - arch: amd64 - {{addURIAndSha "https://github.com/openkruise/kruise-tools/releases/download/{{ .TagName }}/kubectl-kruise-darwin-amd64.tar.gz" .TagName }} - files: - - from: "*/kubectl-kruise" - to: "." - - from: "*/LICENSE" - to: "." - bin: "kubectl-kruise" - - selector: - matchLabels: - os: darwin - arch: arm64 - {{addURIAndSha "https://github.com/openkruise/kruise-tools/releases/download/{{ .TagName }}/kubectl-kruise-darwin-arm64.tar.gz" .TagName }} - files: - - from: "*/kubectl-kruise" - to: "." - - from: "*/LICENSE" - to: "." - bin: "kubectl-kruise" - - selector: - matchLabels: - os: windows - arch: amd64 - {{addURIAndSha "https://github.com/openkruise/kruise-tools/releases/download/{{ .TagName }}/kubectl-kruise-windows-amd64.tar.gz" .TagName }} - files: - - from: "*/kubectl-kruise" - to: "." - - from: "*/LICENSE" - to: "." - bin: "kubectl-kruise" + - selector: + matchLabels: + os: linux + arch: amd64 + {{addURIAndSha "https://github.com/openkruise/kruise-tools/releases/download/{{ .TagName }}/kubectl-kruise-linux-amd64.tar.gz" .TagName }} + files: + - from: "*/kubectl-kruise" + to: "." + - from: "*/LICENSE" + to: "." + bin: "kubectl-kruise" + - selector: + matchLabels: + os: linux + arch: arm64 + {{addURIAndSha "https://github.com/openkruise/kruise-tools/releases/download/{{ .TagName }}/kubectl-kruise-linux-arm64.tar.gz" .TagName }} + files: + - from: "*/kubectl-kruise" + to: "." + - from: "*/LICENSE" + to: "." + bin: "kubectl-kruise" + - selector: + matchLabels: + os: darwin + arch: amd64 + {{addURIAndSha "https://github.com/openkruise/kruise-tools/releases/download/{{ .TagName }}/kubectl-kruise-darwin-amd64.tar.gz" .TagName }} + files: + - from: "*/kubectl-kruise" + to: "." + - from: "*/LICENSE" + to: "." + bin: "kubectl-kruise" + - selector: + matchLabels: + os: darwin + arch: arm64 + {{addURIAndSha "https://github.com/openkruise/kruise-tools/releases/download/{{ .TagName }}/kubectl-kruise-darwin-arm64.tar.gz" .TagName }} + files: + - from: "*/kubectl-kruise" + to: "." + - from: "*/LICENSE" + to: "." + bin: "kubectl-kruise" + - selector: + matchLabels: + os: windows + arch: amd64 + {{addURIAndSha "https://github.com/openkruise/kruise-tools/releases/download/{{ .TagName }}/kubectl-kruise-windows-amd64.tar.gz" .TagName }} + files: + - from: "*/kubectl-kruise" + to: "." + - from: "*/LICENSE" + to: "." + bin: "kubectl-kruise" shortDescription: Easily handle OpenKruise workloads homepage: https://openkruise.io/ description: |