From d1d48521079a50c8089d4b60b630f0bc7fe3a24b Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Thu, 26 Dec 2019 16:52:48 -0700 Subject: [PATCH] Fix build script --- IPBan/CreatePackage.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/IPBan/CreatePackage.ps1 b/IPBan/CreatePackage.ps1 index cb2ab5cd..4321e54a 100644 --- a/IPBan/CreatePackage.ps1 +++ b/IPBan/CreatePackage.ps1 @@ -2,9 +2,9 @@ param([Parameter(Mandatory=$true)] [String]$version) Remove-Item ./package -Recurse -ErrorAction Ignore mkdir ./package -& "c:/program files/dotnet/dotnet.exe" publish IPBan.csproj -f netcoreapp3.0 -o package/linux-x64 -c Release -r linux-x64 -& "c:/program files/dotnet/dotnet.exe" publish IPBan.csproj -f netcoreapp3.0 -o package/win-x64 -c Release -r win-x64 -& "c:/program files (x86)/dotnet/dotnet.exe" publish IPBan.csproj -f netcoreapp3.0 -o package/win-x86 -c Release -r win-x86 +& "c:/program files/dotnet/dotnet.exe" publish IPBan.csproj -f netcoreapp3.1 -o package/linux-x64 -c Release -r linux-x64 +& "c:/program files/dotnet/dotnet.exe" publish IPBan.csproj -f netcoreapp3.1 -o package/win-x64 -c Release -r win-x64 +& "c:/program files (x86)/dotnet/dotnet.exe" publish IPBan.csproj -f netcoreapp3.1 -o package/win-x86 -c Release -r win-x86 Compress-Archive -Path ./package/linux-x64/* -DestinationPath ./package/IPBan-Linux-x64_$version.zip Compress-Archive -Path ./package/win-x64/* -DestinationPath ./package/IPBan-Windows-x64_$version.zip Compress-Archive -Path ./package/win-x86/* -DestinationPath ./package/IPBan-Windows-x86_$version.zip