fix(scripts): log release metadata on missing tag

- Adds logging of release metadata when a specified tag is not found
- Helps with debugging by providing additional context in failure cases
This commit is contained in:
2025-05-26 17:06:56 +02:00
parent 46179b4945
commit bc0ba18afb

View File

@@ -35,6 +35,7 @@ RELEASE_META=$(curl_exec -H "Authorization: token $GITEA_TOKEN" \
RELEASE_ID=$(echo "$RELEASE_META" | jq -r '.id')
if [[ -z "$RELEASE_ID" || "$RELEASE_ID" == "null" ]]; then
echo "Metadaten: $RELEASE_META"
echo "❌ Release '$TAG' nicht gefunden."
exit 1
fi