diff --git a/scripts/cnode-helper-scripts/guild-deploy.sh b/scripts/cnode-helper-scripts/guild-deploy.sh index da17bbc8a..66d86c61d 100755 --- a/scripts/cnode-helper-scripts/guild-deploy.sh +++ b/scripts/cnode-helper-scripts/guild-deploy.sh @@ -436,7 +436,7 @@ download_ogmios() { [[ -f bin/ogmios ]] && OGMIOSPATH=bin/ogmios [[ -f ogmios ]] && OGMIOSPATH=ogmios [[ -n ${OGMIOSPATH} ]] || err_exit "ogmios downloaded but binary not found after extracting package!" - ogmios_git_version="$(curl -s https://api.github.com/repos/CardanoSolutions/ogmios/releases/latest | jq -r '.tag_name')" + ogmios_git_version="$(curl -s https://api.github.com/repos/CardanoSolutions/ogmios/releases | jq -r '.[0].tag_name')" if ! versionCheck "${ogmios_git_version}" "${ogmios_version}"; then [[ "${ogmios_version}" = "0.0.0" ]] && echo -e "\n latest version: ${ogmios_git_version}" || echo -e "\n installed version: ${ogmios_version} | latest version: ${ogmios_git_version}" chmod +x /tmp/ogmios/${OGMIOSPATH}