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:
@@ -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
|
||||
|
Reference in New Issue
Block a user