Pull the macos artifacts into the right location

This commit is contained in:
pancake committed 2025-08-01 12:16:40 +02:00
1 parent f967106240
commit ec9e74878a
1 file changed
+11
+11
View File
@@ -37,3 +37,14 @@ done
echo "Artifacts downloaded:"
find "${DESTDIR}" -type f
# Move plugin ZIPs up from nested dist/macos subdirs into the artifact root
for d in "${DESTDIR}"/macos-pkg-*; do
if [ -d "$d/dist/macos" ]; then
mv "$d/dist/macos/"*.zip "$d/" 2>/dev/null || true
rm -rf "$d/dist"
fi
done
echo "Flattened plugin ZIPs:"
find "${DESTDIR}" -type f -name '*.zip'