0
0
Fork 0
mirror of https://git.sr.ht/~rabbits/uxn synced 2025-01-05 15:11:18 +00:00

Fix names of outputs.

This commit is contained in:
Andrew Alderwick 2022-01-23 21:09:27 +00:00
parent 251d7cae71
commit b45745b25a

View file

@ -54,10 +54,13 @@ tasks:
for PROJECT in linux-amd64 windows-64bit macos rompack; do
tar -czf "out/uxn-${PROJECT}.tar.gz" -C "build/${PROJECT}" uxn
( cd "build/${PROJECT}" && zip -qr "../../out/uxn-${PROJECT}.zip" uxn )
if [ "${PROJECT}" != rompack ]; then
if [ "${PROJECT}" = rompack ]; then
cp "out/uxn-${PROJECT}.tar.gz" out/uxn-essentials.tar.gz
cp "out/uxn-${PROJECT}.zip" out/uxn-essentials.zip
else
cp build/rompack/uxn/* "build/${PROJECT}/"
tar -czf "out/uxn-starter-${PROJECT}.tar.gz" -C "build/${PROJECT}" uxn
( cd "build/${PROJECT}" && zip -qr "../../out/uxn-starter-${PROJECT}.zip" uxn )
tar -czf "out/uxn-essentials-${PROJECT}.tar.gz" -C "build/${PROJECT}" uxn
( cd "build/${PROJECT}" && zip -qr "../../out/uxn-essentials-${PROJECT}.zip" uxn )
fi
done
- upload: |