We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8e5b7ac + 13ddf91 commit 0f47e82Copy full SHA for 0f47e82
scripts/install-kubeflex.sh
@@ -54,7 +54,7 @@ get_arch_type() {
54
}
55
56
get_latest_version() {
57
- curl -sL https://github.com/kubestellar/kubeflex/releases/latest | grep "</h1>" | tail -n 1 | sed -e 's/<[^>]*>//g' | xargs
+ curl -s https://api.github.com/repos/kubestellar/kubeflex/releases/latest | grep '"tag_name"' | cut -d '"' -f 4
58
59
60
get_full_path() {
0 commit comments