workflows: changelogs: Fix zip detection
Signed-off-by: Dakkshesh <dakkshesh5@gmail.com>
This commit is contained in:
@@ -32,7 +32,7 @@ jobs:
|
|||||||
echo "${{ github.event.release.body }}" >> $GITHUB_OUTPUT
|
echo "${{ github.event.release.body }}" >> $GITHUB_OUTPUT
|
||||||
echo "EOF" >> $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
|
if [ -z "$URL" ]; then
|
||||||
echo "::error::Missing .zip asset in release uploads."
|
echo "::error::Missing .zip asset in release uploads."
|
||||||
echo "$ASSETS" | jq -r '.[].name'
|
echo "$ASSETS" | jq -r '.[].name'
|
||||||
|
|||||||
Reference in New Issue
Block a user