From 83dcb4a2f5b88a64d0271dde6e03ecbd3f4ec1a5 Mon Sep 17 00:00:00 2001 From: Den Delimarsky <53200638+localden@users.noreply.github.com> Date: Fri, 3 Oct 2025 21:33:45 -0700 Subject: [PATCH] Update .github/workflows/scripts/create-release-packages.sh Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .github/workflows/scripts/create-release-packages.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/scripts/create-release-packages.sh b/.github/workflows/scripts/create-release-packages.sh index bd32a37e..73469a4a 100644 --- a/.github/workflows/scripts/create-release-packages.sh +++ b/.github/workflows/scripts/create-release-packages.sh @@ -79,7 +79,8 @@ generate_commands() { # Remove the scripts: and agent_scripts: sections from frontmatter while preserving YAML structure body=$(printf '%s\n' "$body" | awk ' /^---$/ { print; if (++dash_count == 1) in_frontmatter=1; else in_frontmatter=0; next } - in_frontmatter && /^(scripts|agent_scripts):$/ { skip_scripts=1; next } + in_frontmatter && /^scripts:$/ { skip_scripts=1; next } + in_frontmatter && /^agent_scripts:$/ { skip_scripts=1; next } in_frontmatter && /^[a-zA-Z].*:/ && skip_scripts { skip_scripts=0 } in_frontmatter && skip_scripts && /^[[:space:]]/ { next } { print }