Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/scripts/generate-versions-page.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,9 @@ while IFS= read -r release; do
continue
fi

# Download the asset via the GitHub API (works for public and private repos)
versions_json=$(gh api "${asset_url}" --jq '.' 2>/dev/null) || continue
# Download the asset content via the GitHub API (octet-stream header required
# to get the file body instead of the asset metadata JSON)
versions_json=$(gh api "${asset_url}" -H "Accept: application/octet-stream" 2>/dev/null) || continue

if ${first}; then
echo "## Latest Release: ${tag}"
Expand Down
Loading