Compare commits

...

1 Commits

Author SHA1 Message Date
Shantur Rathore
0368fe8248 fix(ci): avoid bash globstar on macOS 2026-02-24 07:29:26 +00:00

View File

@@ -84,9 +84,12 @@ jobs:
fi
release_root="packages/electron-app/release"
shopt -s nullglob globstar
apps=("$release_root"/**/CodeNomad.app)
# macOS GitHub runners ship /bin/bash 3.2 which doesn't support `shopt -s globstar`.
# Use find to locate built app bundles instead of ** globs.
apps=()
while IFS= read -r -d '' app; do
apps+=("$app")
done < <(find "$release_root" -type d -name 'CodeNomad.app' -print0)
if [ "${#apps[@]}" -eq 0 ]; then
echo "No CodeNomad.app found under $release_root" >&2
exit 1