diff --git a/.github/workflows/changeset-release.yml b/.github/workflows/changeset-release.yml index 820cf4ece5..be58839ea2 100644 --- a/.github/workflows/changeset-release.yml +++ b/.github/workflows/changeset-release.yml @@ -179,7 +179,8 @@ jobs: [] end ') - BLOCKS=$(echo "[${PRIORITIZED_BLOCKS},${REST_COMPONENT_BLOCKS}]" | jq -c 'add') + + BLOCKS=$(jq -n --argjson prioritized "$PRIORITIZED_BLOCKS" --argjson rest "$REST_COMPONENT_BLOCKS" '[$prioritized, $rest] | flatten') - name: Echo result id: echo-result run: |