Skip to content

Commit e9df977

Browse files
fix(release): drop the extglob that broke the asset collection step
bash parses the whole if block before the shopt inside it runs, so the !(...) pattern was a syntax error on every platform. Co-Authored-By: Claude Fable 5 <[email protected]>
1 parent 4fd3f88 commit e9df977

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/release-desktop.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -494,8 +494,8 @@ jobs:
494494
# the release job merges them back into one manifest per channel.
495495
# builder-debug.yml is electron-builder's config dump, not a feed.
496496
if [[ "${{ inputs.platform }}" == "win" ]]; then
497-
shopt -s nullglob extglob
498-
for manifest in release-publish/!(builder-debug).yml; do
497+
for manifest in release-publish/*.yml; do
498+
[[ "$manifest" == */builder-debug.yml ]] && continue
499499
mv "$manifest" "${manifest%.yml}-win-${{ inputs.arch }}.yml"
500500
done
501501
fi

0 commit comments

Comments
 (0)