Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add how to get kbcli and kb version in docs #8213

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

weicao
Copy link
Contributor

@weicao weicao commented Sep 26, 2024

No description provided.

@github-actions github-actions bot added the size/S Denotes a PR that changes 10-29 lines. label Sep 26, 2024
@weicao weicao force-pushed the support/add-how-to-get-kbcli-and-kb-versions-in-docs branch from 755f7f6 to d818359 Compare September 26, 2024 07:56

To get stable releases, use this command:
```bash
curl -s "https://api.github.com/repos/apecloud/kbcli/releases?per_page=100&page=1" | jq '.[] | select(.prerelease == false) | .tag_name'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Recommend to use this pipe | jq -r '.[] | select(.prerelease == false) | .tag_name' | sort -V for better result.

$ curl -s "https://api.github.com/repos/apecloud/kubeblocks/releases?per_page=100&page=1" | jq -r '.[] | select(.prerelease == false) | .tag_name' | sort -V
v0.5.1
v0.5.2
v0.5.3
v0.6.0
v0.6.1
v0.6.2
v0.6.3
v0.6.4
v0.7.0
v0.7.1
v0.7.2
v0.8.0
v0.8.1
v0.8.2
v0.8.3
v0.8.4
v0.9.0


For instance, you can install kbcli v0.6.1 and KubeBlocks v0.6.3, but mismatched versions like kbcli v0.5.0 and KubeBlocks v0.6.0 may result in errors.
For example, you can install kbcli v0.8.1 with KubeBlocks v0.8.3, but using mismatched major versions, such as kbcli v0.8.1 with KubeBlocks v0.9.0, may lead to errors.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change to "install KubeBlocks v0.8.3 with kbcli v0.8.1"?

@apecloud-bot apecloud-bot added the approved PR Approved Test label Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved PR Approved Test size/S Denotes a PR that changes 10-29 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants