Update release_from_version.yml

This commit is contained in:
2025-12-23 19:06:59 -06:00
parent 23ffbba8b1
commit 95c79d6ef3

View File

@@ -29,7 +29,7 @@
# #
name: Release from Version Branch Pipeline name: Release from Version Branch Pipeline
on: "on":
workflow_dispatch: workflow_dispatch:
inputs: inputs:
promote_to_version: promote_to_version:
@@ -306,7 +306,7 @@ jobs:
MANIFEST="${ROOT}/templateDetails.xml" MANIFEST="${ROOT}/templateDetails.xml"
else else
while IFS= read -r -d '' f; do while IFS= read -r -d '' f; do
if grep -qE '<extension\\b' "${f}"; then if grep -qE '<extension[[:space:]>]' "${f}"; then
MANIFEST="${f}" MANIFEST="${f}"
break break
fi fi
@@ -322,7 +322,7 @@ jobs:
echo "Manifest: ${MANIFEST}" echo "Manifest: ${MANIFEST}"
# Derive extension type for logging and compliance checks. # Derive extension type for logging and compliance checks.
EXT_TYPE="$(grep -oE '<extension[^>]*type=\"[^\"]+\"' "${MANIFEST}" | head -n 1 | sed -E 's/.*type=\"([^\"]+)\".*/\/')" EXT_TYPE="$(grep -oE '<extension[^>]*type=\"[^\"]+\"' "${MANIFEST}" | head -n 1 | sed -E 's/.*type=\"([^\"]+)\".*/\1/')"
if [ -z "${EXT_TYPE}" ]; then if [ -z "${EXT_TYPE}" ]; then
EXT_TYPE="unknown" EXT_TYPE="unknown"
fi fi