From d5021d4bb3757eac423ec37468ede5051bc07cfd Mon Sep 17 00:00:00 2001 From: Xudong Guo Date: Sat, 20 Jan 2024 10:30:49 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E2=9C=8F=EF=B8=8F=20fix=20install=20do?= =?UTF-8?q?cs=20(#868)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/en-us/install.md | 7 ++++--- docs/zh-cn/install.md | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/docs/en-us/install.md b/docs/en-us/install.md index 18f60b34..aa95e528 100644 --- a/docs/en-us/install.md +++ b/docs/en-us/install.md @@ -21,12 +21,13 @@ brew install kubecm [![GitHub release](https://img.shields.io/github/release/sunny0826/kubecm)](https://github.com/sunny0826/kubecm/releases) ```bash +VERSION=v0.27.1 # replace with the version you want, note the "v" prefix! # linux x86_64 -curl -Lo kubecm.tar.gz https://github.com/sunny0826/kubecm/releases/download/v${VERSION}/kubecm_${VERSION}_Linux_x86_64.tar.gz +curl -Lo kubecm.tar.gz https://github.com/sunny0826/kubecm/releases/download/${VERSION}/kubecm_${VERSION}_Linux_x86_64.tar.gz # macos -curl -Lo kubecm.tar.gz https://github.com/sunny0826/kubecm/releases/download/v${VERSION}/kubecm_${VERSION}_Darwin_x86_64.tar.gz +curl -Lo kubecm.tar.gz https://github.com/sunny0826/kubecm/releases/download/${VERSION}/kubecm_${VERSION}_Darwin_x86_64.tar.gz # windows -curl -Lo kubecm.tar.gz https://github.com/sunny0826/kubecm/releases/download/v${VERSION}/kubecm_${VERSION}_Windows_x86_64.tar.gz +curl -Lo kubecm.tar.gz https://github.com/sunny0826/kubecm/releases/download/${VERSION}/kubecm_${VERSION}_Windows_x86_64.tar.gz # linux & macos tar -zxvf kubecm.tar.gz kubecm diff --git a/docs/zh-cn/install.md b/docs/zh-cn/install.md index 5569f27f..3f9ccefa 100644 --- a/docs/zh-cn/install.md +++ b/docs/zh-cn/install.md @@ -21,12 +21,13 @@ brew install sunny0826/tap/kubecm [![GitHub release](https://img.shields.io/github/release/sunny0826/kubecm)](https://github.com/sunny0826/kubecm/releases) ```bash +VERSION=v0.27.1 # replace with the version you want, note the "v" prefix! # linux x86_64 -curl -Lo kubecm.tar.gz https://github.com/sunny0826/kubecm/releases/download/v${VERSION}/kubecm_${VERSION}_Linux_x86_64.tar.gz +curl -Lo kubecm.tar.gz https://github.com/sunny0826/kubecm/releases/download/${VERSION}/kubecm_${VERSION}_Linux_x86_64.tar.gz # macos -curl -Lo kubecm.tar.gz https://github.com/sunny0826/kubecm/releases/download/v${VERSION}/kubecm_${VERSION}_Darwin_x86_64.tar.gz +curl -Lo kubecm.tar.gz https://github.com/sunny0826/kubecm/releases/download/${VERSION}/kubecm_${VERSION}_Darwin_x86_64.tar.gz # windows -curl -Lo kubecm.tar.gz https://github.com/sunny0826/kubecm/releases/download/v${VERSION}/kubecm_${VERSION}_Windows_x86_64.tar.gz +curl -Lo kubecm.tar.gz https://github.com/sunny0826/kubecm/releases/download/${VERSION}/kubecm_${VERSION}_Windows_x86_64.tar.gz # linux & macos tar -zxvf kubecm.tar.gz kubecm