There was an error while loading. Please reload this page.
1 parent 5498e70 commit 9d9d341Copy full SHA for 9d9d341
1 file changed
.github/workflows/release.yml
@@ -70,10 +70,12 @@ jobs:
70
env:
71
GH_TOKEN: ${{ github.token }}
72
run: |
73
- mapfile -d '' files < <(
+ files=()
74
+ while IFS= read -r file; do
75
+ files+=("$file")
76
+ done < <(
77
find dist -maxdepth 1 -type f \
- \( -name '*.dmg' -o -name '*.zip' -o -name '*.exe' -o -name '*.AppImage' -o -name '*.deb' -o -name '*.blockmap' -o -name 'latest*.yml' -o -name 'latest*.yaml' \) \
- -print0
78
+ \( -name '*.dmg' -o -name '*.zip' -o -name '*.exe' -o -name '*.AppImage' -o -name '*.deb' -o -name '*.blockmap' -o -name 'latest*.yml' -o -name 'latest*.yaml' \)
79
)
80
if [ "${#files[@]}" -eq 0 ]; then
81
echo "No release artifacts found in dist/" >&2
0 commit comments