From 5ae01a9f7bc3970874e9755258dd3984ed539df8 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Wed, 13 Nov 2024 14:38:58 +0900 Subject: [PATCH] BUILD_RELEASE: debugging what is causing the exit from generate-body --- .github/workflows/build_release.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index 6662db8b..69a69a2f 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -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