maybe fix curl issue

This commit is contained in:
Tony
2026-01-14 09:50:03 -06:00
parent 163af81f31
commit f78172f2af

View File

@@ -95,9 +95,10 @@ jobs:
fi
echo "Uploading: $filename"
curl -sS -X POST -H "$AUTH" \
-F "attachment=@$f" \
"$API/repos/$OWNER/$NAME/releases/$RELEASE_ID/assets" >/dev/null
curl -sS --fail -X POST -H "$AUTH" \
-H "Accept: application/json" \
-F "attachment=@$f" \
"$API/repos/$OWNER/$NAME/releases/$RELEASE_ID/assets?name=$filename"
done
echo "Done. Release page: ${GITEA_BASE_URL}/${OWNER}/${NAME}/releases/tag/${TAG}"