Edit Mac and Linux bundle build workflows

This commit is contained in:
Michael Bucari-Tovo
2023-02-12 16:28:00 -07:00
parent 6fdd6293ce
commit d496564f0d
5 changed files with 54 additions and 50 deletions

5
Scripts/targz2deb.sh → Scripts/targz2linuxbundle.sh Executable file → Normal file
View File

@@ -130,7 +130,10 @@ chmod +x "$FOLDER_DEBIAN/postinst"
echo "Creating .deb file..."
dpkg-deb -Zxz --build $FOLDER_MAIN
mkdir bundle
echo "moving to ./bundle/$FOLDER_MAIN.deb"
mv "$FOLDER_MAIN.deb" "./bundle/$FOLDER_MAIN.deb"
rm -r "$FOLDER_MAIN"
echo "Done!"

View File

@@ -29,7 +29,6 @@ then
exit
fi
# remove trailing ".tar.gz"
BUNDLE="Libation.app"
echo "Bundle dir: $BUNDLE"
@@ -76,6 +75,10 @@ for n in "${delfiles[@]}"; do rm "$BUNDLE_MACOS/$n"; done
echo "Creating app bundle: $BUNDLE-$VERSION.tar.gz"
tar -czvf "$BUNDLE-$VERSION.tar.gz" "$BUNDLE"
mkdir bundle
echo "moving to ./bundle/$BUNDLE-$VERSION.tar.gz"
mv "$BUNDLE-$VERSION.tar.gz" "./bundle/$BUNDLE-$VERSION.tar.gz"
rm -r "$BUNDLE"
echo "Done!"