Handle empty voice arguments in macOS release packaging (#44101)

Guard the `voice_args` array expansion to avoid unbound-variable errors
under `set -u` when packaging bundles without voice arguments. Preserve
quoted arguments for the `primary` bundle.

GitOrigin-RevId: 677a565d1678dc1e218cd9a98298aa6a26873643
This commit is contained in:
Benjamin Carlsson
2026-09-09 08:16:54 +00:00
committed by copyberry
parent 634ebc1865
commit 9e868bd9dc
+1 -1
View File
@@ -925,7 +925,7 @@ jobs:
--archive-dir "dist/${TARGET}" \
--rg-bin "signed-resources/${TARGET}/rg" \
--zsh-bin "signed-resources/${TARGET}/zsh" \
"${voice_args[@]}"
${voice_args[@]+"${voice_args[@]}"}
- name: Build unsigned macOS DMG
if: ${{ matrix.build_dmg == 'true' }}