mirror of
https://github.com/openai/codex.git
synced 2026-10-21 07:42:01 +00:00
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:
committed by
copyberry
parent
634ebc1865
commit
9e868bd9dc
@@ -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' }}
|
||||
|
||||
Reference in New Issue
Block a user