workflows: changelogs: Fix zip detection

Signed-off-by: Dakkshesh <dakkshesh5@gmail.com>
This commit is contained in:
Dakkshesh
2025-08-08 15:41:21 +05:30
parent adac71b5bc
commit b31b023018
+1 -1
View File
@@ -32,7 +32,7 @@ jobs:
echo "${{ github.event.release.body }}" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
URL=$(echo "$ASSETS" | jq -r '.[] | select(.name | endswith("release.zip")) | .browser_download_url' | head -n1)
URL=$(echo "$ASSETS" | jq -r '.[] | select(.name | endswith("Release.zip")) | .browser_download_url' | head -n1)
if [ -z "$URL" ]; then
echo "::error::Missing .zip asset in release uploads."
echo "$ASSETS" | jq -r '.[].name'