Skip to content

Commit d1323bd

Browse files
committed
[[ FMPackage ]] Upload built fmplugins to mac builder
Piggy back on the distmac-archive step to upload built fmplugins from win-x86, win86_64 and mac inside mac installer tarball
1 parent 782bba7 commit d1323bd

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

buildbot.mk

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,24 @@ dist-upload: dist-upload-files.txt dist-upload-mkdir
253253
# resulting archive gets transferred to a Mac for signing and
254254
# conversion to a DMG.
255255
distmac-archive:
256+
set -e; \
256257
find . -maxdepth 1 -name 'LiveCode*Installer-*-Mac.app' -print0 \
257-
| xargs -0 tar -Jcvf mac-installer.tar.xz
258+
| xargs -0 tar -cvf mac-installer.tar; \
259+
cd mac-bin; \
260+
find . -maxdepth 1 -name 'livecodeforfm-*.fmplugin' -print0 \
261+
| xargs -0 tar --append --file=../mac-installer.tar; \
262+
find . -maxdepth 1 -name 'LiveCodeforFM.fmp12' -print0 \
263+
| xargs -0 tar --append --file=../mac-installer.tar; \
264+
cd ..; \
265+
cd win-x86-bin; \
266+
find . -maxdepth 1 -name 'livecodeforfm-*.fmx' -print0 \
267+
| xargs -0 tar --append --file=../mac-installer.tar; \
268+
cd ..; \
269+
cd win-x86_64-bin; \
270+
find . -maxdepth 1 -name 'livecodeforfm-*.fmx64' -print0 \
271+
| xargs -0 tar --append --file=../mac-installer.tar; \
272+
cd ..; \
273+
bzip2 -c mac-installer.tar > mac-installer.tar.xz
258274

259275
distmac-extract:
260276
tar -xvf mac-installer.tar.xz

0 commit comments

Comments
 (0)