We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e3ae3c commit 2062fa9Copy full SHA for 2062fa9
.github/workflows/check-repos-updates.sh
@@ -1,7 +1,7 @@
1
#!/usr/bin/env bash
2
echo "Stage1 Find Updates"
3
LATEST_RELEASE=$(curl -s https://api.github.com/repos/telerik/kendo-ui-core/releases | grep tag_name | head -n 1 | cut -d '"' -f 4)
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)
5
echo "Last release version is $LATEST_RELEASE"
6
echo "Last Themes release version is $LATEST_THEMES_RELEASE"
7
0 commit comments