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

Merged
merged 2 commits into from
Oct 9, 2024

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

great!

@apecloud-bot apecloud-bot added the approved PR Approved Test label Sep 27, 2024
@apecloud-bot apecloud-bot removed the approved PR Approved Test label Oct 9, 2024
@weicao
Copy link
Contributor Author

weicao commented Oct 9, 2024

/approve

@apecloud-bot apecloud-bot added the approved PR Approved Test label Oct 9, 2024
@weicao weicao merged commit bea7ac0 into main Oct 9, 2024
25 checks passed
@weicao weicao deleted the support/add-how-to-get-kbcli-and-kb-versions-in-docs branch October 9, 2024 04:37
@github-actions github-actions bot added this to the Release 0.9.2 milestone Oct 9, 2024
michelle-0808 pushed a commit that referenced this pull request Oct 10, 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