homeassistant: use get_latest_github_release

This commit is contained in:
MickLesk
2026-09-30 21:03:12 +02:00
parent 6fe405c864
commit bf1a99e4ad
+1 -5
View File
@@ -26,11 +26,7 @@ msg_info "Installing runlike"
$STD pip install runlike
msg_ok "Installed runlike"
get_latest_release() {
curl -fsSL https://api.github.com/repos/$1/releases/latest | grep '"tag_name":' | cut -d'"' -f4
}
CORE_LATEST_VERSION=$(get_latest_release "home-assistant/core")
CORE_LATEST_VERSION=$(get_latest_github_release "home-assistant/core")
setup_docker
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/addon/portainer.sh)" <<<"y"