Skip to content

Commit

Permalink
Fix build script
Browse files Browse the repository at this point in the history
  • Loading branch information
jjxtra committed Dec 26, 2019
1 parent edfcfa1 commit d1d4852
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions IPBan/CreatePackage.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d1d4852

Please sign in to comment.