diff --git a/IptvPlaylistAggregator.csproj b/IptvPlaylistAggregator.csproj index b1de864..2c971c9 100644 --- a/IptvPlaylistAggregator.csproj +++ b/IptvPlaylistAggregator.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp3.1 + net5.0 IptvPlaylistAggregator @@ -17,16 +17,16 @@ - - - - - - + + + + + + - - - + + + diff --git a/package.sh b/package.sh index c03b242..4d3ba5f 100644 --- a/package.sh +++ b/package.sh @@ -36,17 +36,7 @@ function dotnet-pub { dotnet publish -c Release -r "$ARCH" -o "$OUTPUT_DIR" --self-contained=true /p:TrimUnusedDependencies=true /p:LinkDuringPublish=true } -function prepare { - echo "Adding the temporary NuGet packages" - dotnet add package Microsoft.Packaging.Tools.Trimming --version 1.1.0-preview1-26619-01 - #dotnet add package ILLink.Tasks --version 0.1.5-preview-1841731 --source https://dotnet.myget.org/F/dotnet-core/api/v3/index.json -} - function cleanup { - echo "Removing the temporary NuGet packages" - dotnet remove package Microsoft.Packaging.Tools.Trimming - #dotnet remove package ILLink.Task - echo "Cleaning build output" rm -rf "$PUBLISH_DIR" } @@ -56,12 +46,10 @@ function build-release { package $1 } -prepare - build-release linux-arm build-release linux-arm64 build-release linux-x64 -build-release osx-x64 build-release win-x64 +build-release osx-x64 cleanup