1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-28 02:40:01 +00:00

Update packages.sh some more.

This commit is contained in:
Leonardo Galli 2017-04-12 21:23:02 +02:00
parent 3e966d4d58
commit f376360611

View file

@ -34,10 +34,6 @@ rm $outputFolderOsxApp/Radarr.app/Contents/MacOS/Sonarr
chmod +x $outputFolderOsxApp/Radarr.app/Contents/MacOS/Sonarr2
mv $outputFolderOsxApp/Radarr.app/Contents/MacOS/Sonarr2 $outputFolderOsxApp/Radarr.app/Contents/MacOS/Sonarr >& error.log
cp -r $outputFolder/ Radarr_Windows_$VERSION
cp -r $outputFolderMono/ Radarr_Mono_$VERSION
cp -r $outputFolderOsx/ Radarr_OSX_$VERSION
if [ $runtime = "dotnet" ] ; then
./7za.exe a Radarr_Windows_$VERSION.zip ./Radarr_Windows_$VERSION/*
./7za.exe a -ttar -so Radarr_Mono_$VERSION.tar ./Radarr_Mono_$VERSION/* | ./7za.exe a -si Radarr_Mono_$VERSION.tar.gz
@ -46,7 +42,8 @@ if [ $runtime = "dotnet" ] ; then
else
zip -r Radarr_Windows_$VERSION.zip Radarr_Windows_$VERSION/*
tar -zcvf Radarr_Mono_$VERSION.tar.gz Radarr_Mono_$VERSION #TODO update for tar.gz
tar -zcvf Radarr_OSX_$VERSION.tar.gz Radarr_OSX_$VERSION
tar -zcvf Radarr_OSX_$VERSION.tar.gz _output_osx
zip -r Radarr_OSX_APP_$VERSION.zip _output_osx_app/*
fi
# ftp -n ftp.leonardogalli.ch << END_SCRIPT
# passive