Edit Mac and Linux bundle build workflows
This commit is contained in:
parent
6fdd6293ce
commit
d496564f0d
5 changed files with 54 additions and 50 deletions
5
Scripts/targz2deb.sh → Scripts/targz2linuxbundle.sh
Executable file → Normal file
5
Scripts/targz2deb.sh → Scripts/targz2linuxbundle.sh
Executable file → Normal 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!"
|
||||
|
||||
|
|
@ -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!"
|
||||
Loading…
Add table
Add a link
Reference in a new issue