diff --git a/.krew.yaml b/.krew.yaml index 82637787..508f3262 100644 --- a/.krew.yaml +++ b/.krew.yaml @@ -3,7 +3,7 @@ kind: Plugin metadata: name: kc spec: - version: v0.19.3 + version: {{ .TagName }} homepage: https://github.com/sunny0826/kubecm shortDescription: "Easier management of kubeconfig." description: | @@ -14,48 +14,41 @@ spec: matchLabels: os: darwin arch: amd64 - uri: https://github.com/sunny0826/kubecm/releases/download/v0.19.3/kubecm_0.19.3_Darwin_x86_64.tar.gz - sha256: 206ecd656b321f8d1899593e1c6c3a397cb54dd524e61eab29c6f9ebf2ce5d5c + {{ addURIAndSha "https://github.com/sunny0826/kubecm/releases/download/{{ .TagName }}/kubecm_{{ .TagName }}_Darwin_x86_64.tar.gz" .TagName }} bin: kubecm - selector: matchLabels: os: darwin arch: arm64 - uri: https://github.com/sunny0826/kubecm/releases/download/v0.19.3/kubecm_0.19.3_Darwin_arm64.tar.gz - sha256: 66e61032224e12d09b3e72fc7bea033b5fbd62c41c15ac9c0a91f81e7bdfe831 + {{ addURIAndSha "https://github.com/sunny0826/kubecm/releases/download/{{ .TagName }}/kubecm_{{ .TagName }}_Darwin_arm64.tar.gz" .TagName }} bin: kubecm - selector: matchLabels: os: linux arch: amd64 - uri: https://github.com/sunny0826/kubecm/releases/download/v0.19.3/kubecm_0.19.3_Linux_x86_64.tar.gz - sha256: a7cdfd72f8867c38abe7ec0785b92732e02b10d6919564a0f4a7d843ca1ac305 + {{ addURIAndSha "https://github.com/sunny0826/kubecm/releases/download/{{ .TagName }}/kubecm_{{ .TagName }}_Linux_x86_64.tar.gz" .TagName }} bin: kubecm - selector: matchLabels: os: linux arch: arm64 - uri: https://github.com/sunny0826/kubecm/releases/download/v0.19.3/kubecm_0.19.3_Linux_arm64.tar.gz - sha256: 0b4b1ea13277b0d85b5db622d94d31b05e80a7cf40a7a3c13265a331898f8e7c + {{ addURIAndSha "https://github.com/sunny0826/kubecm/releases/download/{{ .TagName }}/kubecm_{{ .TagName }}_Linux_arm64.tar.gz" .TagName }} bin: kubecm - selector: matchLabels: os: linux arch: 386 - uri: https://github.com/sunny0826/kubecm/releases/download/v0.19.3/kubecm_0.19.3_Linux_i386.tar.gz - sha256: e16923685f38f7632dd2dd331255f5cbeefedfb9f5bfeb0975524f6d4cdea4f8 + {{ addURIAndSha "https://github.com/sunny0826/kubecm/releases/download/{{ .TagName }}/kubecm_{{ .TagName }}_Linux_i386.tar.gz" .TagName }} bin: kubecm - selector: matchLabels: os: windows arch: amd64 - uri: https://github.com/sunny0826/kubecm/releases/download/v0.19.3/kubecm_0.19.3_Windows_x86_64.tar.gz - sha256: ba5bf5127377dcaa086b04a54792bfd156d4bba4ecdf3fba2d953945137ce0de + {{ addURIAndSha "https://github.com/sunny0826/kubecm/releases/download/{{ .TagName }}/kubecm_{{ .TagName }}_Windows_x86_64.tar.gz" .TagName }} bin: kubecm.exe - selector: matchLabels: os: windows arch: 386 - uri: https://github.com/sunny0826/kubecm/releases/download/v0.19.3/kubecm_0.19.3_Windows_i386.tar.gz - sha256: b56c7ec443e8ea6e59317101a5d008bc8306242901d3f9812f35dbf09ca936ad + {{ addURIAndSha "https://github.com/sunny0826/kubecm/releases/download/{{ .TagName }}/kubecm_{{ .TagName }}_Windows_i386.tar.gz" .TagName }} bin: kubecm.exe diff --git a/README.md b/README.md index 30b74769..2695feb4 100644 --- a/README.md +++ b/README.md @@ -56,13 +56,13 @@ For full documentation, please visit the KubeCM website: [https://kubecm.cloud]( [![asciicast](https://asciinema.org/a/389595.svg)](https://asciinema.org/a/389595) ## Install -Using [krew](https://krew.sigs.k8s.io/): +Using [Krew](https://krew.sigs.k8s.io/): ```bash kubectl krew install kc ``` -Using brew: +Using Homebrew: ```bash brew install kubecm diff --git a/docs/README.md b/docs/README.md index 7e7bfbd2..9ec6551d 100644 --- a/docs/README.md +++ b/docs/README.md @@ -56,13 +56,13 @@ For full documentation, please visit the KubeVela website: [https://kubecm.cloud [![](https://tva3.sinaimg.cn/large/ad5fbf65gy1gij1pl0pn5j218o0p81kx.jpg)](https://www.bilibili.com/video/av88259938/) ## Install -Using [krew](https://krew.sigs.k8s.io/): +Using [Krew](https://krew.sigs.k8s.io/): ```bash kubectl krew install kc ``` -Using brew: +Using Homebrew: ```bash brew install kubecm diff --git a/docs/en-us/README.md b/docs/en-us/README.md index eb4774f3..bb407793 100644 --- a/docs/en-us/README.md +++ b/docs/en-us/README.md @@ -51,19 +51,19 @@ Use "kubecm [command] --help" for more information about a command. ## Install -Using [krew](https://krew.sigs.k8s.io/): +Using [Krew](https://krew.sigs.k8s.io/): ```bash kubectl krew install kc ``` -Using brew: +Using Homebrew: ```bash brew install kubecm ``` -Source binary: +Source Binary: [Download the library](https://github.com/sunny0826/kubecm/releases) diff --git a/docs/en-us/install.md b/docs/en-us/install.md index adc8626b..18f60b34 100644 --- a/docs/en-us/install.md +++ b/docs/en-us/install.md @@ -4,7 +4,7 @@ Multiple installation paths are available. #### ** Krew ** -Using [krew](https://krew.sigs.k8s.io/): +Using [Krew](https://krew.sigs.k8s.io/): ```bash kubectl krew install kc diff --git a/docs/zh-cn/README.md b/docs/zh-cn/README.md index 880da89f..f6084279 100644 --- a/docs/zh-cn/README.md +++ b/docs/zh-cn/README.md @@ -57,7 +57,7 @@ Using [Krew](https://krew.sigs.k8s.io/): kubectl krew install kc ``` -Using brew: +Using Homebrew: ```bash brew install kubecm diff --git a/docs/zh-cn/install.md b/docs/zh-cn/install.md index a6fee788..5569f27f 100644 --- a/docs/zh-cn/install.md +++ b/docs/zh-cn/install.md @@ -4,7 +4,7 @@ #### ** Krew ** -Using [krew](https://krew.sigs.k8s.io/): +Using [Krew](https://krew.sigs.k8s.io/): ```bash kubectl krew install kc