💫 Toolkit to help you get started with SDD or any other process!
fix(scripts): honor PowerShell agent and script filters (#1969)
AK8778c26dcf26
diff --git a/.github/workflows/scripts/create-release-packages.ps1 b/.github/workflows/scripts/create-release-packages.ps1index 5bd600e5f..912dd00ec 100644--- a/.github/workflows/scripts/create-release-packages.ps1+++ b/.github/workflows/scripts/create-release-packages.ps1@@ -497,13 +497,13 @@ $AllAgents = @('claude', 'gemini', 'copilot', 'cursor-agent', 'qwen', 'opencode'$AllScripts = @('sh', 'ps')function Normalize-List {- param([string]$Input)+ param([string]$Value)- if ([string]::IsNullOrEmpty($Input)) {+ if ([string]::IsNullOrEmpty($Value)) {return @()}- $items = $Input -split '[,\s]+' | Where-Object { $_ } | Select-Object -Unique+ $items = $Value -split '[,\s]+' | Where-Object { $_ } | Select-Object -Uniquereturn $items}@@ -526,7 +526,7 @@ function Validate-Subset {# Determine agent listif (-not [string]::IsNullOrEmpty($Agents)) {- $AgentList = Normalize-List -Input $Agents+ $AgentList = Normalize-List -Value $Agentsif (-not (Validate-Subset -Type 'agent' -Allowed $AllAgents -Items $AgentList)) {exit 1}@@ -536,7 +536,7 @@ if (-not [string]::IsNullOrEmpty($Agents)) {# Determine script listif (-not [string]::IsNullOrEmpty($Scripts)) {- $ScriptList = Normalize-List -Input $Scripts+ $ScriptList = Normalize-List -Value $Scriptsif (-not (Validate-Subset -Type 'script' -Allowed $AllScripts -Items $ScriptList)) {exit 1}