From 7ae6c3e5eafe55e9832562da5c3c85c9e32bea25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mlendea=2C=20Hora=C8=9Biu?= Date: Sat, 15 May 2021 16:55:33 +0300 Subject: [PATCH] Removed trimming package from the packaging script --- package.sh | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) 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