BUILD_RELEASE: debugging what is causing the exit from generate-body

This commit is contained in:
XargonWan 2024-11-13 14:44:10 +09:00
parent 5ae01a9f7b
commit 728358f518

View file

@ -153,8 +153,11 @@ jobs:
echo "[DEBUG] CHECKPOINT 2"
# Debug
xmlstarlet sel -t -v "/component/releases/release[1]/description/*" "$xml_file" -n
# Extract the raw description content using xmlstarlet with error handling
raw_description=$(xmlstarlet sel -v -t -m "/component/releases/release[1]/description/*" -c "." -n "$xml_file")
raw_description=$(xmlstarlet sel -t -m "/component/releases/release[1]/description/*" -c "." -n "$xml_file" 2>&1)
status=$?
if [[ $status -ne 0 ]]; then