mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 05:55:38 +00:00
BUILD_RELEASE: debugging what is causing the exit from generate-body
This commit is contained in:
parent
346baf4d19
commit
558ade07cb
10
.github/workflows/build_release.yml
vendored
10
.github/workflows/build_release.yml
vendored
|
@ -154,7 +154,15 @@ jobs:
|
|||
echo "[DEBUG] CHECKPOINT 2"
|
||||
|
||||
# Extract the raw description content using xmlstarlet
|
||||
raw_description=$(xmlstarlet sel -t -m "/component/releases/release[1]/description/*" -c "." -n "$xml_file")
|
||||
# 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)
|
||||
status=$?
|
||||
|
||||
if [[ $status -ne 0 ]]; then
|
||||
echo "[ERROR] Failed to extract description content using xmlstarlet. Error output:"
|
||||
echo "$raw_description"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "[DEBUG] CHECKPOINT 3"
|
||||
|
||||
|
|
Loading…
Reference in a new issue