Allow build script to produce packages on non-windows OSes

[common]
pull/2796/head
ta264 3 years ago
parent dc45a2d0d6
commit 45ab2b2409

@ -206,7 +206,10 @@ PackageWindows()
local folder=$artifactsFolder/$runtime/$framework/Lidarr
PackageFiles "$folder" "$framework" "$runtime"
cp -r $outputFolder/$framework-windows/$runtime/publish/* $folder
if [ "$os" = "windows" ]; then
cp -r $outputFolder/$framework-windows/$runtime/publish/* $folder
fi
echo "Removing Lidarr.Mono"
rm -f $folder/Lidarr.Mono.*

Loading…
Cancel
Save