Skip to content

Commit 83dcb4a

Browse files
localdenCopilot
andauthored
Update .github/workflows/scripts/create-release-packages.sh
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 8374777 commit 83dcb4a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/scripts/create-release-packages.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ generate_commands() {
7979
# Remove the scripts: and agent_scripts: sections from frontmatter while preserving YAML structure
8080
body=$(printf '%s\n' "$body" | awk '
8181
/^---$/ { print; if (++dash_count == 1) in_frontmatter=1; else in_frontmatter=0; next }
82-
in_frontmatter && /^(scripts|agent_scripts):$/ { skip_scripts=1; next }
82+
in_frontmatter && /^scripts:$/ { skip_scripts=1; next }
83+
in_frontmatter && /^agent_scripts:$/ { skip_scripts=1; next }
8384
in_frontmatter && /^[a-zA-Z].*:/ && skip_scripts { skip_scripts=0 }
8485
in_frontmatter && skip_scripts && /^[[:space:]]/ { next }
8586
{ print }

0 commit comments

Comments
 (0)