From 2a5eeb777d57156ec5068dde8bff8b03a79be417 Mon Sep 17 00:00:00 2001 From: Viktor Tachev Date: Mon, 24 Nov 2025 16:20:27 +0200 Subject: [PATCH] fix: get correct themes version --- .github/workflows/check-repos-updates.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-repos-updates.sh b/.github/workflows/check-repos-updates.sh index 4c53f6a..019ac67 100755 --- a/.github/workflows/check-repos-updates.sh +++ b/.github/workflows/check-repos-updates.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash echo "Stage1 Find Updates" LATEST_RELEASE=$(curl -s https://api.github.com/repos/telerik/kendo-ui-core/releases | grep tag_name | head -n 1 | cut -d '"' -f 4) -LATEST_THEMES_RELEASE=$(curl -s https://api.github.com/repos/telerik/kendo-themes/releases | grep -B4 '"prerelease": false' | head -1 | cut -d '"' -f 4 | tr -d v) +LATEST_THEMES_RELEASE=$(curl -s https://api.github.com/repos/telerik/kendo-themes/releases | jq -r '[.[] | select(.prerelease == false)][0].name' | tr -d v) echo "Last release version is $LATEST_RELEASE" echo "Last Themes release version is $LATEST_THEMES_RELEASE"