We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8374777 commit 83dcb4aCopy full SHA for 83dcb4a
1 file changed
.github/workflows/scripts/create-release-packages.sh
@@ -79,7 +79,8 @@ generate_commands() {
79
# Remove the scripts: and agent_scripts: sections from frontmatter while preserving YAML structure
80
body=$(printf '%s\n' "$body" | awk '
81
/^---$/ { print; if (++dash_count == 1) in_frontmatter=1; else in_frontmatter=0; next }
82
- in_frontmatter && /^(scripts|agent_scripts):$/ { skip_scripts=1; next }
+ in_frontmatter && /^scripts:$/ { skip_scripts=1; next }
83
+ in_frontmatter && /^agent_scripts:$/ { skip_scripts=1; next }
84
in_frontmatter && /^[a-zA-Z].*:/ && skip_scripts { skip_scripts=0 }
85
in_frontmatter && skip_scripts && /^[[:space:]]/ { next }
86
{ print }
0 commit comments