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

This commit is contained in:
XargonWan 2024-11-13 14:38:58 +09:00
parent 558ade07cb
commit 5ae01a9f7b

View file

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