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 86ac5b1 commit 7c8f5e9Copy full SHA for 7c8f5e9
.github/workflows/buildAndPublish.yml
@@ -228,7 +228,8 @@ jobs:
228
exit 1
229
fi
230
231
- UPLOAD_URL=$(echo "$body" | jq -r '.upload_url | sub("{?name,label}"; "") // ""')
+ # Extract upload_url and remove any trailing template parameters
232
+ UPLOAD_URL=$(echo "$body" | jq -r '.upload_url | sub("\\{.*$"; "") // ""')
233
if [ -z "$UPLOAD_URL" ]; then
234
echo "${red}Failed to extract upload_url from response${reset}"
235
echo "Parsed output: $(echo "$body" | jq '.')"
0 commit comments