1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-22 15:53:23 +00:00

Allow build script to produce packages on non-windows OSes

[common]
This commit is contained in:
ta264 2022-04-28 21:23:02 +01:00
parent dc45a2d0d6
commit 45ab2b2409

View file

@ -206,7 +206,10 @@ PackageWindows()
local folder=$artifactsFolder/$runtime/$framework/Lidarr local folder=$artifactsFolder/$runtime/$framework/Lidarr
PackageFiles "$folder" "$framework" "$runtime" 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" echo "Removing Lidarr.Mono"
rm -f $folder/Lidarr.Mono.* rm -f $folder/Lidarr.Mono.*